Class
TimePickerContext

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

Definition

Constructors

TimePickerContext()

Declaration

cs-api-definition
public TimePickerContext()

Properties

EndTime

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

Declaration

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

Property Value

TimeSpan

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

TimeInterval

Gets or sets the interval between two consecutive TimeSpan objects.

Declaration

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

Property Value

TimeSpan

Methods

CanExecuteOk()

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

Declaration

cs-api-definition
public override bool CanExecuteOk()

Returns

bool

True if the button should be enabled, false otherwise.

Overrides PickerContext.CanExecuteOk()