ATAS
Loading...
Searching...
No Matches
OFT.Attributes.Editors.TextEditorAttribute Class Reference

Represents an attribute that provides additional metadata for controlling text editors. More...

Inheritance diagram for OFT.Attributes.Editors.TextEditorAttribute:
[legend]
Collaboration diagram for OFT.Attributes.Editors.TextEditorAttribute:
[legend]

Public Member Functions

 TextEditorAttribute (bool isMultiline, int maxHeight=50)
 Initializes a new instance of the TextEditorAttribute class with the specified settings.
 

Properties

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.
 

Detailed Description

Represents an attribute that provides additional metadata for controlling text editors.

Constructor & Destructor Documentation

◆ TextEditorAttribute()

OFT.Attributes.Editors.TextEditorAttribute.TextEditorAttribute ( bool  isMultiline,
int  maxHeight = 50 
)

Initializes a new instance of the TextEditorAttribute class with the specified settings.

Parameters
isMultilineA value indicating whether the text editor allows multiline input.
maxHeightThe maximum height of the text editor, in lines. It must be at least 10 lines.

Property Documentation

◆ 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: