Version

CalendarDayStyle Property

Returns or sets the default style to use for CalendarDay instances within the control.
Syntax
'Declaration
 
Public Property CalendarDayStyle As Style
public Style CalendarDayStyle {get; set;}
Remarks

When this property is set, the CalendarItemArea will set the System.Windows.FrameworkElement.Style property of the CalendarDay instances that it creates.

Note: If a CalendarDayStyleSelector is provided and that class provides a Style, the value for this property will not be used for that item.

Note: Since the Style property will be explicitly set using this value, 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