Wisej.Web.Markup.TextBoxExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the TextBox class.
Sets the Multiline property for the specified TextBox, enabling or disabling multiline text input.
TTextBox
textBox
The text box for which to set the Multiline property.
multiLine
A boolean value indicating whether to enable multiline text input. Default is false
.
Returns: TTextBox. The text box with the updated Multiline property.
This method allows you to specify whether the text box can accept multiple lines of text.
Sets the ReadOnly property for the specified TextBox, enabling or disabling read-only mode.
TTextBox
textBox
The text box for which to set the ReadOnly property.
readOnly
A boolean value indicating whether to enable read-only mode. Default is false
.
Returns: TTextBox. The text box with the updated ReadOnly property.
This method allows you to specify whether the text box is read-only, preventing user input while still allowing text selection and copying.
The type of the text box, which must inherit from .
The type of the text box, which must inherit from .