New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a context that holds information about the time picker that is displayed in the chat.

Definition

Constructors

C#
public TimePickerContext()

Properties

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

C#
public TimeSpan EndTime { get; set; }

Gets or sets the selected TimeSpan value.

C#
public TimeSpan? SelectedValue { get; set; }

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

C#
public TimeSpan StartTime { get; set; }

Gets or sets the interval between two consecutive TimeSpan objects.

C#
public TimeSpan TimeInterval { get; set; }

Methods

Determines whether the Ok button of the picker can be clicked.

C#
public override bool CanExecuteOk()
Returns:

bool

True if the button should be enabled, false otherwise.

Overrides: PickerContext.CanExecuteOk()