[]
Represents the WeekTitleStyleSelector class, which allow user to set simple style for WeekTitle according to some conditions.
public class WeekTitleStyleSelector : StyleSelector<WeekTitle>
Public Class WeekTitleStyleSelector
Inherits StyleSelector(Of WeekTitle)
WeekTitleStyleSelector is a simple implementation from bass class, to provide simple way to change appearance(some properties) of WeekTitle 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 |
---|---|
WeekTitleStyleSelector() | Initializes a new instance of the WeekTitleStyleSelector 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(WeekTitle) | Selects the style according the Conditions. |