Version

CalendarDayStyleSelector Property

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

This class is used by the CalendarItemArea to obtain a System.Windows.FrameworkElement.Style for a specific CalendarDay instance. If a Style is returned for a specified day, the value of the CalendarDayStyle 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 day 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 CalendarDay 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