TextEditor Members
Include Protected Members
Include Inherited Members
Defines the text editor for the user.
The TextEditor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TextEditor | Initializes a new instance of the TextEditor class. |
Top
Properties
Name | Description | |
---|---|---|
DynamicHeightSizing | Gets or sets a value that indicates whether the height of the TextEditor can be adjusted automatically to fit the content. | |
EditableText | Gets or sets the raw HTML to display in the web browser for the user to edit. | |
EditorHeight | Gets or sets the height of the text editor. | |
EditorWidth | Gets or sets the width of the text editor. | |
ErrorMessage | Gets or sets the error message that appears above the text editor window. | |
ErrorMessageLocId | Gets or sets the localized version of ErrorMessage. | |
ErrorMessageLocIdNum | Gets or sets the localization identifier (ID) for ErrorMessage. | |
IsValid | Gets or sets a value that indicates whether the TextEditor is valid. | |
MaxHeightSize | Gets or sets the maximum number of lines that the TextEditor allows. | |
ReadOnly | Gets or sets a value that indicates whether the TextEditor is read-only. | |
RestrictedMode | Gets or sets a value that indicates whether the text editor is in restricted mode. Restricted mode does not support the Copy, Cut, Paste, or Insert Image function. | |
SimpleTextOnly | Gets or sets a value that indicates whether the TextEditor will only display text without HTML. | |
TabIndex | Gets or sets the tab index of the TextEditor. |
Top
Methods
Name | Description | |
---|---|---|
MakeTextSafe | Cleans text according to specifications, such as removing all script and certain URLs. | |
OnLoad | Handles the Load event. (Overrides Control.OnLoad(EventArgs).) | |
OnPreRender | Handles the PreRender event. (Overrides Control.OnPreRender(EventArgs).) | |
Render | Renders the TextEditor to the client. (Overrides Control.Render(HtmlTextWriter).) | |
Validate | Ensures that the text size does not exceed the maximum size limit of MaxTextSizeDefault. The Validate method removes all script from the text before validating the size. |
Top
Fields
Name | Description | |
---|---|---|
m_fDynamicHeightSizing | Specifies whether the height of the TextEditor can be adjusted automatically to fit the content. | |
m_fIsValid | Gets or sets a value that indicates whether the TextEditor is valid. | |
m_fReadOnly | Specifies whether the TextEditor is read-only. | |
m_fSimpleTextOnly | Specifies whether the TextEditor will only display text without HTML. | |
m_fTabIndex | Specifies the tab index of the TextEditor. | |
m_nMaxHeightSize | Specifies the maximum number of lines that the TextEditor allows. | |
MaxTextSizeDefault | Specifies the maximum number of characters that the TextEditor allows. | |
nDefaultMaxHeightSize | Specifies the default maximum number of lines that the TextEditor allows. | |
TableWidth | Specifies the width of the table that contains the TextEditor window. |
Top