Back to Devexpress

DxSearchBox Members

blazor-devexpress-dot-blazor-dot-dxsearchbox-dot-underscore-members.md

latest7.2 KB
Original Source

DxSearchBox Members

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

Constructors

NameDescription
DxSearchBox()Initializes a new instance of the DxSearchBox class.

Properties

NameDescription
AttributesSpecifies a collection of standard HTML attributes applied to the editor. Inherited from DxInputDataEditorBase<T>.
BindValueModeSpecifies when to update the editor’s text.
ButtonsAllows you to add command buttons to the Search Box.
ClearButtonDisplayModeSpecifies whether an input editor displays the Clear button when it is not empty. Inherited from DxInputDataEditorBase<T>.
CssClassAssigns a CSS class to the editor. Inherited from DxDataEditor<T>.
DisplayFormatSpecifies the pattern used to format the Search Box’s display value when the editor is not focused.
EnabledSpecifies whether an editor is enabled. Inherited from DxDataEditor<T>.
IdSpecifies the component’s unique identifier. Inherited from DxInputDataEditorBase<T>.
InputCssClassAssigns a CSS class to the editor’s input. Inherited from DxInputDataEditorBase<T>.
InputDelaySpecifies a delay between user changes and the actual text update. Applied for the BindValueMode.OnDelayedInput mode only.
InputIdSpecifies a unique identifier (ID) of an editor’s input element. Inherited from DxInputDataEditorBase<T>.
NullTextSpecifies the editor’s prompt text when the editor’s value is null. Inherited from DxInputDataEditorBase<T>.
ReadOnlySpecifies whether read-only mode is active. Inherited from DxDataEditor<T>.
ShowValidationIconSpecifies whether an editor shows validation icons. Inherited from DxInputDataEditorBase<T>.
ShowValidationSuccessStateSpecifies 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>.
SizeModeSpecifies an editor size. Inherited from DxDataEditor<T>.
TextSpecifies the text displayed in the Search Box.
TextExpressionSpecifies a lambda expression that identifies the Text property’s bound value when a text editor is placed in the EditForm.
ValidationEnabledSpecifies whether the editor validates user input. Inherited from DxDataEditor<T>.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
TextChangedFires after the editor text changed.
TextChangingFires when a user is changing text in the editor. Use this event to validate/cancel user input.

See Also

DxSearchBox Class

DevExpress.Blazor Namespace