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

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

Definition

Constructors

C#
public DatePickerContext()

Properties

Gets or sets the last date displayed by the picker.

C#
public DateTime MaxDate { get; set; }

Gets or sets the first date displayed by the picker.

C#
public DateTime MinDate { get; set; }

Gets or sets the selected DateTime object.

C#
public DateTime? SelectedDate { 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()