แก้ไข

แชร์ผ่าน


RibbonGallery.CategoryTemplate Property

Definition

Gets or sets the DataTemplate that is used to display each item in a RibbonGalleryCategory.

public:
 property System::Windows::DataTemplate ^ CategoryTemplate { System::Windows::DataTemplate ^ get(); void set(System::Windows::DataTemplate ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.DataTemplate CategoryTemplate { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.CategoryTemplate : System.Windows.DataTemplate with get, set
Public Property CategoryTemplate As DataTemplate

Property Value

A template that specifies the visualization of the items. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

Attributes

Remarks

If this property value is not null, it overrides the ItemsControl.ItemTemplate property.

Dependency Property Information

Identifier field CategoryTemplateProperty
Metadata properties set to true None

Applies to