Class
ChatTimePicker

Represents a picker which displays a collection of TimeSpan objects.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class ChatTimePicker : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewChatTimePicker

Derived Classes: TimePickerView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

ChatTimePicker()

Initializes a new instance of the ChatTimePicker class.

Declaration

cs-api-definition
public ChatTimePicker()

Fields

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

EndTimeProperty

Identifies the EndTime property.

Declaration

cs-api-definition
public static readonly BindableProperty EndTimeProperty

Field Value

BindableProperty

ItemSelectedCommandProperty

Identifies the ItemSelectedCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemSelectedCommandProperty

Field Value

BindableProperty

SelectedItemProperty

Identifies the SelectedItem property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedItemProperty

Field Value

BindableProperty

SelectedValueProperty

Identifies the SelectedValue property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedValueProperty

Field Value

BindableProperty

StartTimeProperty

Identifies the StartTime property.

Declaration

cs-api-definition
public static readonly BindableProperty StartTimeProperty

Field Value

BindableProperty

TimeFormatProperty

Identifies the TimeFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty TimeFormatProperty

Field Value

BindableProperty

TimeIntervalProperty

Identifies the TimeInterval property.

Declaration

cs-api-definition
public static readonly BindableProperty TimeIntervalProperty

Field Value

BindableProperty

Properties

ControlTemplate

Gets or sets the control template of this view.

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

EndTime

Gets or sets the last time span that can be selected.

Declaration

cs-api-definition
public TimeSpan EndTime { get; set; }

Property Value

TimeSpan

ItemSelectedCommand

Gets or sets the command executed when an item is selected. The parameter of this command is of type TimePickerItem.

Declaration

cs-api-definition
public ICommand ItemSelectedCommand { get; set; }

Property Value

ICommand

Items

Gets or sets the collection of TimePickerItem objects.

Declaration

cs-api-definition
public List<TimePickerItem> Items { get; }

Property Value

List<TimePickerItem>

SelectedItem

Gets or sets the selected TimePickerItem.

Declaration

cs-api-definition
public TimePickerItem SelectedItem { get; set; }

Property Value

TimePickerItem

SelectedValue

Gets or sets the selected TimeSpan value.

Declaration

cs-api-definition
public TimeSpan? SelectedValue { get; set; }

Property Value

TimeSpan?

StartTime

Gets or sets the first time span that can be selected.

Declaration

cs-api-definition
public TimeSpan StartTime { get; set; }

Property Value

TimeSpan

TimeFormat

Gets or sets the format of the displayed time spans.

Declaration

cs-api-definition
public string TimeFormat { get; set; }

Property Value

string

TimeInterval

Gets or sets the interval between two consecutive TimePickerItem objects.

Declaration

cs-api-definition
public TimeSpan TimeInterval { get; set; }

Property Value

TimeSpan

Methods

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

Events

ItemSelected

Occurs when when an item is selected.

Declaration

cs-api-definition
public event EventHandler<ValueChangedEventArgs<TimePickerItem>> ItemSelected

Event Value

EventHandler<ValueChangedEventArgs<TimePickerItem>>