ClassChatTimePicker
Represents a picker which displays a collection of TimeSpan objects.
Definition
Namespace:Telerik.Maui.Controls.Chat
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class ChatTimePicker : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewChatTimePicker
Derived Classes:
Implements:
Inherited Members
Constructors
ChatTimePicker()
Initializes a new instance of the ChatTimePicker class.
Declaration
public ChatTimePicker()
Fields
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
BindableProperty
EndTimeProperty
Identifies the EndTime property.
Declaration
public static readonly BindableProperty EndTimeProperty
Field Value
BindableProperty
ItemSelectedCommandProperty
Identifies the ItemSelectedCommand property.
Declaration
public static readonly BindableProperty ItemSelectedCommandProperty
Field Value
BindableProperty
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
BindableProperty
SelectedValueProperty
Identifies the SelectedValue property.
Declaration
public static readonly BindableProperty SelectedValueProperty
Field Value
BindableProperty
StartTimeProperty
Identifies the StartTime property.
Declaration
public static readonly BindableProperty StartTimeProperty
Field Value
BindableProperty
TimeFormatProperty
Identifies the TimeFormat property.
Declaration
public static readonly BindableProperty TimeFormatProperty
Field Value
BindableProperty
TimeIntervalProperty
Identifies the TimeInterval property.
Declaration
public static readonly BindableProperty TimeIntervalProperty
Field Value
BindableProperty
Properties
ControlTemplate
Gets or sets the control template of this view.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
ControlTemplate
EndTime
Gets or sets the last time span that can be selected.
ItemSelectedCommand
Gets or sets the command executed when an item is selected. The parameter of this command is of type TimePickerItem.
Declaration
public ICommand ItemSelectedCommand { get; set; }
Property Value
Items
Gets or sets the collection of TimePickerItem objects.
Declaration
public List<TimePickerItem> Items { get; }
Property Value
SelectedItem
Gets or sets the selected TimePickerItem.
Declaration
public TimePickerItem SelectedItem { get; set; }
Property Value
SelectedValue
Gets or sets the selected TimeSpan value.
StartTime
Gets or sets the first time span that can be selected.
TimeFormat
Gets or sets the format of the displayed time spans.
TimeInterval
Gets or sets the interval between two consecutive TimePickerItem objects.
Methods
OnPropertyChanged(string)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
Events
ItemSelected
Occurs when when an item is selected.
Declaration
public event EventHandler<ValueChangedEventArgs<TimePickerItem>> ItemSelected
Event Value