Skip to main content

DateEdit.IsDateIconVisible Property

Gets or sets whether the date icon is visible. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public bool IsDateIconVisible { get; set; }

Property Value

Type Default Description
Boolean true

true if the date icon is visible; otherwise, false.

Remarks

The DateIcon property specifies an icon that appears on the right side of the edit box. The default icon is a calendar.

DevExpress MAUI DateEdit - Icon

The editor gets colors for its icons from the applied theme. Use the DateIconColor property to apply a custom color to the date icon. If you need the editor to display this icon in its original color, set the DateIconColor property to {x:Static dxci:DXColor.Default}:

<ContentPage ... 
             xmlns:dxci="clr-namespace:DevExpress.Utils;assembly=DevExpress.Maui.Core">
    <dxe:DateEdit ...
                  DateIconColor="{x:Static dxci:DXColor.Default}"/>
</ContentPage>

The IsDateIconVisible property allows you to hide the date icon.

The following settings allow you to specify the action executed when a user taps the date icon:

Event/Properties

Description

DateIconClicked

Fires when the date icon is clicked.

DateIconCommand

Gets or sets a command executed when a user taps the date icon. This is a bindable property.

DateIconCommandParameter

Gets or sets a parameter passed to the DateIconCommand. This is a bindable property.

See Also