Skip to main content

EditBase.ClearIconVisibility Property

Gets or sets whether the clear icon is displayed. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public IconVisibility ClearIconVisibility { get; set; }

Property Value

Type Default Description
IconVisibility Auto

An IconVisibility enumeration value.

Available values:

Name Description
Never

The icon is hidden.

Always

The icon is always visible.

Auto

The icon is visible when the editor is not empty.

Remarks

You can set the following values to the ClearIconVisibility property to change the visibility of the clear icon:

  • Auto - display an icon only if the edit box is not empty.
  • Always - always display an icon (disabled when the editor is empty).
  • Never - never display an icon.
See Also