Class
DatePickerContext

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

Definition

Constructors

DatePickerContext()

Declaration

cs-api-definition
public DatePickerContext()

Properties

MaxDate

Gets or sets the last date displayed by the picker.

Declaration

cs-api-definition
public DateTime MaxDate { get; set; }

Property Value

DateTime

MinDate

Gets or sets the first date displayed by the picker.

Declaration

cs-api-definition
public DateTime MinDate { get; set; }

Property Value

DateTime

SelectedDate

Gets or sets the selected DateTime object.

Declaration

cs-api-definition
public DateTime? SelectedDate { get; set; }

Property Value

DateTime?

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()