Back to Devexpress

EditBase.ClearIconVisibility Property

maui-devexpress-dot-maui-dot-editors-dot-editbase-f898ece7.md

latest1.4 KB
Original Source

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

csharp
public IconVisibility ClearIconVisibility { get; set; }

Property Value

TypeDefaultDescription
IconVisibilityAuto

An IconVisibility enumeration value.

|

Available values:

NameDescription
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

EditBase Class

EditBase Members

DevExpress.Maui.Editors Namespace