RibbonGallery.CategoryTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Item | Value |
---|---|
Identifier field | CategoryTemplateProperty |
Metadata properties set to true |
None |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.