Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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