ChatTimePicker
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
Initializes a new instance of the ChatTimePicker class.
public ChatTimePicker()
Fields
ControlTemplateProperty
BindableProperty
Identifies the ControlTemplate property.
public static readonly BindableProperty ControlTemplateProperty
EndTimeProperty
BindableProperty
Identifies the EndTime property.
public static readonly BindableProperty EndTimeProperty
ItemSelectedCommandProperty
BindableProperty
Identifies the ItemSelectedCommand property.
public static readonly BindableProperty ItemSelectedCommandProperty
SelectedItemProperty
BindableProperty
Identifies the SelectedItem property.
public static readonly BindableProperty SelectedItemProperty
SelectedValueProperty
BindableProperty
Identifies the SelectedValue property.
public static readonly BindableProperty SelectedValueProperty
StartTimeProperty
BindableProperty
Identifies the StartTime property.
public static readonly BindableProperty StartTimeProperty
TimeFormatProperty
BindableProperty
Identifies the TimeFormat property.
public static readonly BindableProperty TimeFormatProperty
TimeIntervalProperty
BindableProperty
Identifies the TimeInterval property.
public static readonly BindableProperty TimeIntervalProperty
Properties
ControlTemplate
ControlTemplate
Gets or sets the control template of this view.
public ControlTemplate ControlTemplate { get; set; }
Gets or sets the last time span that can be selected.
public TimeSpan EndTime { get; set; }
Gets or sets the collection of TimePickerItem objects.
public List<TimePickerItem> Items { get; }
Gets or sets the command executed when an item is selected. The parameter of this command is of type TimePickerItem.
public ICommand ItemSelectedCommand { get; set; }
Gets or sets the selected TimePickerItem.
public TimePickerItem SelectedItem { get; set; }
Gets or sets the selected TimeSpan value.
public TimeSpan? SelectedValue { get; set; }
Gets or sets the first time span that can be selected.
public TimeSpan StartTime { get; set; }
Gets or sets the format of the displayed time spans.
public string TimeFormat { get; set; }
Gets or sets the interval between two consecutive TimePickerItem objects.
public TimeSpan TimeInterval { get; set; }
Methods
protected override void OnPropertyChanged(string propertyName = null)
Events
Occurs when when an item is selected.
public event EventHandler<ValueChangedEventArgs<TimePickerItem>> ItemSelected