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
minLinesintThe minimum number of lines to display.
maxLinesintThe maximum number of lines to display.
Properties
MaxLines
Gets the maximum number of lines.
public int MaxLines { get; }
Property Value
MinLines
Gets the minimum number of lines.
public int MinLines { get; }