Represents an attribute that provides additional metadata for controlling text editors.
More...
|
| TextEditorAttribute (bool isMultiline, int maxHeight=50) |
| Initializes a new instance of the TextEditorAttribute class with the specified settings.
|
|
|
bool | IsMultiline [get] |
| Gets a value indicating whether the text editor allows multiline input.
|
|
int | MaxHeight [get] |
| Gets the maximum height of the text editor, in lines.
|
|
Represents an attribute that provides additional metadata for controlling text editors.
◆ TextEditorAttribute()
OFT.Attributes.Editors.TextEditorAttribute.TextEditorAttribute |
( |
bool |
isMultiline, |
|
|
int |
maxHeight = 50 |
|
) |
| |
Initializes a new instance of the TextEditorAttribute class with the specified settings.
- Parameters
-
isMultiline | A value indicating whether the text editor allows multiline input. |
maxHeight | The maximum height of the text editor, in lines. It must be at least 10 lines. |
◆ IsMultiline
bool OFT.Attributes.Editors.TextEditorAttribute.IsMultiline |
|
get |
Gets a value indicating whether the text editor allows multiline input.
◆ MaxHeight
int OFT.Attributes.Editors.TextEditorAttribute.MaxHeight |
|
get |
Gets the maximum height of the text editor, in lines.
The documentation for this class was generated from the following file: