Skip to main content
All docs
V24.2

DxSearchBox Members

A single-line editor that allows users to input text and search for it in your application.

Constructors

Name Description
DxSearchBox() Initializes a new instance of the DxSearchBox class.

Properties

Name Description
Attributes Specifies a collection of standard HTML attributes applied to the editor. Inherited from DxInputDataEditorBase<T>.
BindValueMode Specifies when to update the editor’s text.
Buttons Allows you to add command buttons to the Search Box.
ClearButtonDisplayMode Specifies whether an input editor displays the Clear button when it is not empty. Inherited from DxInputDataEditorBase<T>.
CssClass Assigns a CSS class to the editor. Inherited from DxDataEditor<T>.
DisplayFormat Specifies the pattern used to format the Search Box’s display value when the editor is not focused.
Enabled Specifies whether an editor is enabled. Inherited from DxDataEditor<T>.
Id Specifies the component’s unique identifier. Inherited from DxInputDataEditorBase<T>.
InputCssClass Assigns a CSS class to the editor’s input. Inherited from DxInputDataEditorBase<T>.
InputDelay Specifies a delay between user changes and the actual text update. Applied for the BindValueMode.OnDelayedInput mode only.
InputId Specifies a unique identifier (ID) of an editor’s input element. Inherited from DxInputDataEditorBase<T>.
NullText Specifies the editor’s prompt text when the editor’s value is null. Inherited from DxInputDataEditorBase<T>.
ReadOnly Specifies whether read-only mode is active. Inherited from DxDataEditor<T>.
ShowValidationIcon Specifies whether an editor shows validation icons. Inherited from DxInputDataEditorBase<T>.
ShowValidationSuccessState Specifies whether the editor indicates successful validation. When an input value is valid, the editor displays a green outline and can show a success icon. Inherited from DxDataEditor<T>.
SizeMode Specifies an editor size. Inherited from DxDataEditor<T>.
Text Specifies the text displayed in the Search Box.
TextExpression Specifies a lambda expression that identifies the Text property’s bound value when a text editor is placed in the EditForm.
ValidationEnabled Specifies whether the editor validates user input. Inherited from DxDataEditor<T>.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FocusAsync() Moves focus to the component’s input element. Inherited from DxInputDataEditorBase<T>.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
TextChanged Fires when a Text value changes.
See Also