Skip to main content

TimeEdit.TimeIcon Property

Gets or sets a time icon image.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public ImageSource TimeIcon { get; set; }

Property Value

Type Description
ImageSource

The icon image.

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