Skip to main content

TimeEdit.TimeIconCommand Property

Specifies the command executed when a user taps the time icon.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public ICommand TimeIconCommand { get; set; }

Property Value

Type Description
ICommand

A command that exposes the ICommand interface.

Remarks

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

Time Editor - Icons

The editor gets colors for its icons from the applied theme. Use the TimeIconColor property to apply a custom color to the time icon. If you need the editor to display this icon in its original color, set the TimeIconColor property to Color.Default.

To hide the time icon, use the IsTimeIconVisible property.

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

Event/Properties

Description

TimeIconClicked

Allows you to assign an additional action to the time icon.

TimeIconCommand

Specifies the command executed when a user taps the time icon.

TimeIconCommandParameter

Specifies the parameter passed to the TimeIconCommand.

See Also