Table of Contents

Class TextAreaAttribute

Namespace
KeenEyes
Assembly
KeenEyes.Abstractions.dll

Indicates that a string field should be displayed as a multi-line text area.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
[ExcludeFromCodeCoverage]
public sealed class TextAreaAttribute : Attribute
Inheritance
TextAreaAttribute
Inherited Members

Constructors

TextAreaAttribute(int, int)

Indicates that a string field should be displayed as a multi-line text area.

public TextAreaAttribute(int minLines = 3, int maxLines = 10)

Parameters

minLines int

The minimum number of lines to display.

maxLines int

The maximum number of lines to display.

Properties

MaxLines

Gets the maximum number of lines.

public int MaxLines { get; }

Property Value

int

MinLines

Gets the minimum number of lines.

public int MinLines { get; }

Property Value

int