Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the DataTemplate that is used to display each item in a RibbonGalleryCategory.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
<BindableAttribute(True)> _
Public Property CategoryTemplate As DataTemplate
[BindableAttribute(true)]
public DataTemplate CategoryTemplate { get; set; }
[BindableAttribute(true)]
public:
property DataTemplate^ CategoryTemplate {
DataTemplate^ get ();
void set (DataTemplate^ value);
}
[<BindableAttribute(true)>]
member CategoryTemplate : DataTemplate with get, set
function get CategoryTemplate () : DataTemplate
function set CategoryTemplate (value : DataTemplate)
Property Value
Type: System.Windows.DataTemplate
A template that specifies the visualization of the items. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
If this property value is not nulla null reference (Nothing in Visual Basic), it overrides the ItemsControl.ItemTemplate property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.