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

Selection of a style based on custom selection logic.

Definition

Namespace:Telerik.Maui.Controls.Calendar

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CalendarStyleSelector

Inheritance: objectCalendarStyleSelector

Constructors

Initializes a new instance of the CalendarStyleSelector class.

C#
public CalendarStyleSelector()

Properties

Gets the Style of the CalendarLabel when in disabled state.

C#
public Style DisabledLabelStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the selected date when is first in range.

C#
public Style FirstInRangeBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it and is first in range selection.

C#
public Style FirstInRangeMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the selected date when is last in range.

C#
public Style LastInRangeBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it and is last in range selection.

C#
public Style LastInRangeMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the selected date when is middle in range.

C#
public Style MiddleInRangeBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it and is middle in range selection.

C#
public Style MiddleInRangeMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it.

C#
public Style MouseOverBorderStyle { get; set; }

Gets the Style of the CalendarLabel when in normal state.

C#
public Style NormalLabelStyle { get; set; }

Gets the Style of the CalendarLabel when in out of scope state.

C#
public Style OutOfScopeLabelStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the selected date.

C#
public Style SelectedBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it and is selected.

C#
public Style SelectedMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date.

C#
public Style TodayBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected and is first in range.

C#
public Style TodayFirstInRangeBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected and mouse over and is first in range.

C#
public Style TodayFirstInRangeMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected and is last in range.

C#
public Style TodayLastInRangeBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected and mouse over and is last in range.

C#
public Style TodayLastInRangeMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected and is middle in range.

C#
public Style TodayMiddleInRangeBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected and mouse over and is middle in range.

C#
public Style TodayMiddleInRangeMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it and is today.

C#
public Style TodayMouseOverBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the today date when selected.

C#
public Style TodaySelectedBorderStyle { get; set; }

Gets the Style of the CalendarBorderLabel visualizing the date that has the mouse over it and is today and selected.

C#
public Style TodaySelectedMouseOverBorderStyle { get; set; }

Methods

Override this method to return an app specific Style.

C#
public virtual Style SelectStyle(object item, BindableObject container)
Parameters:itemobject

The data content.

containerBindableObject

The element to which the style will be applied.

Returns:

Style

An app-specific style to apply, or null.