ClearButtonVisibility Enum

Definition

Enumerates values that influence clear button visibility behavior on input fields. Typically this is a button inside of the input field, near the end, which clears the input when pressed.

C#
public enum ClearButtonVisibility
Inheritance
ClearButtonVisibility

Fields

Name Value Description
Never 0

Never show a clear button.

WhileEditing 1

Only show a clear button in the input field while the input field has focus and is being edited.

Applies to

Product Versions
.NET MAUI 8, 9