[]
Represents the CalendarDayButtonStyleSelector class, which allow user to set simple style for CalendarDayButton according to some conditions.
public class CalendarDayButtonStyleSelector : StyleSelector<CalendarDayButton>
Public Class CalendarDayButtonStyleSelector
Inherits StyleSelector(Of CalendarDayButton)
CalendarDayButtonStyleSelector is a simple implementation from bass class, to provide simple way to change appearance(some properties) of CalendarDayButton according to some pre-defined conditions. If this interface can't satisfy user's complex requirement, user is able to use template customization to instead.
The following xaml demonstrates how to change appearance of WeekTitle and CalendarDayButton through WeekTitleStyleSelector and CalendarDayButtonStyleSelector in xaml.
Name | Description |
---|---|
CalendarDayButtonStyleSelector() | Initializes a new instance of the CalendarDayButtonStyleSelector class. |
Name | Description |
---|---|
Conditions | Gets a collection of SelectorCondition objects. A new Style is selected when all the conditions are checked, and the setters of the conditions which are met, will be applied to the selected Style. |
Name | Description |
---|---|
SelectStyle(CalendarDayButton) | Selects the style according the Conditions. |