Version

CalendarItemStyleSelector Property

Returns or sets an instance of a StyleSelector class that provides a style for a specific CalendarItem
Syntax
'Declaration
 
Public Property CalendarItemStyleSelector As StyleSelector
public StyleSelector CalendarItemStyleSelector {get; set;}
Remarks

This class is used by the CalendarItemArea to obtain a System.Windows.FrameworkElement.Style for a specific CalendarItem instance. If a Style is returned for a specified item, the value of the CalendarItemStyle will not be used for that item.

Note: The CalendarItemArea may reuse items so you should not set the value of any other property on the item from the SelectStyle method.

Note: Since the Style property will be explicitly set using the Style returned by this StyleSelector instance, any local styles (including those provided via the Theme property, that target the CalendarItem will not be used.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also