Version

CalendarItemStyle Property

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

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

Note: If a CalendarItemStyleSelector 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 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