Skip to main content

BootstrapTextBoxPropertiesBuilder Methods

Contains settings specific to a textbox editor.
Name Description
ClientSideEvents(Action<TextBoxClientSideEventsBuilder>) Object that lists the client-side events specific to the TextBox.
ConvertEmptyStringToNull(Boolean) Sets a value that specifies whether empty string values are converted to a null reference when an inplace editor’s value is retrieved from a data source field.
DisplayFormatInEditMode(Boolean) Sets a value specifying whether a format pattern defined via the EditPropertiesBase.DisplayFormatString property should be applied to the editor value displayed in the edit mode of a complex data control (e.g. GridView).
DisplayFormatString(String) Sets the pattern used to format the editor’s value for display purposes.
EnableClientSideAPI(Boolean) Sets a value that specifies whether the editor can be manipulated on the client side via code.
EncodeHtml(Boolean) Sets a value that specifies whether the editor’s value and element content is rendered as pure HTML, or HTML markers are stripped out.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HelpText(String) Sets the current editor help text.
HelpTextSettings(Action<BootstrapTextEditHelpSettingsBuilder>) Provides access to an editor’s help text settings.
MaskSettings(Action<MaskSettingsBuilder>) The editor’s mask settings.
MaxLength(Int32) Sets the maximum number of characters an end user can enter into the editor.
MemberwiseClone() Creates a shallow copy of the current Object. Inherited from Object.
NullDisplayText(String) Sets the text displayed within the editor’s edit region when the editor’s value is null.
NullText(String) Sets the prompt text displayed within the editor’s input box when the editor is not focused and its value is null.
NullTextDisplayMode(NullTextDisplayMode) Sets a value indicating when the null text should be displayed in the editor.
Password(Boolean) Sets a value that specifies whether the input is treated as a password and all characters entered into the editor are masked.
ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectInputTextOnClick(Boolean)
ToString() Returns a string that represents the current object. Inherited from Object.
Width(Int32) Sets the editor’s width.
Width(String) Sets the editor’s width.
See Also