Class PropertyTextAreaAttribute
Attribute to make a field be drawn as a text area. Only works on string fields.
[PropertyTextArea(3, 10)]
public string text;
[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = true)]
public class PropertyTextAreaAttribute : Attribute
- Inheritance
-
PropertyTextAreaAttribute
Constructors
PropertyTextAreaAttribute()
public PropertyTextAreaAttribute()
PropertyTextAreaAttribute(int, int)
public PropertyTextAreaAttribute(int minLines, int maxLines)
Parameters
PropertyTextAreaAttribute(TextAreaAttribute)
public PropertyTextAreaAttribute(TextAreaAttribute textArea)
Parameters
textArea
TextAreaAttribute
Fields
maxLines
public readonly int maxLines
Field Value
minLines
public readonly int minLines
Field Value
Properties
MaxLines
public int MaxLines { get; }
Property Value
MinLines
public int MinLines { get; }