DataEditorClearButtonDisplayMode Enum

Lists values that specify when the Clear button is displayed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public enum DataEditorClearButtonDisplayMode

Members

Name Description
Auto

The Clear button is displayed when an editor is not empty and is not in the read-only state.

Never

The Clear button is not displayed.

Remarks

The Clear button allows users to clear (set to NULL) an editor value. The button is displayed when the editor is not empty.

Use the editor's ClearButtonDisplayMode property to specify the Clear button's visibility. For example, the code below shows the Clear button in the DxComboBox<T>.

 <DxComboBox Data="@DataSource"
             ClearButtonDisplayMode="DataEditorClearButtonDisplayMode.Auto"></DxComboBox>

@code {
    List<Options> DataSource;
}

Blazor-ComboBox-Clear-Button

NOTE

Online Demo: ComboBox - NullText

See Also