編輯

共用方式為


Calendar.CalendarItemStyle Property

Definition

Gets or sets the Style associated with the control's internal CalendarItem object.

public:
 property System::Windows::Style ^ CalendarItemStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };
public System.Windows.Style CalendarItemStyle { get; set; }
member this.CalendarItemStyle : System.Windows.Style with get, set
Public Property CalendarItemStyle As Style

Property Value

The current style of the CalendarItem object.

Remarks

XAML Attribute Usage

<object CalendarItemStyle="{resourceExtension styleResourceKey}"/>

XAML Values

resourceExtension One of the following: StaticResource or DynamicResource. For more information, see XAML Resources.

styleResourceKey The key that identifies the resource being requested. The key refers to an existing resource in a ResourceDictionary.

Dependency Property Information

Item Value
Identifier field CalendarItemStyleProperty
Metadata properties set to true None

Applies to