RibbonGroupTemplateSizeDefinition.ContentTemplate Property

Gets or sets the DataTemplate that is used to display a RibbonGroup.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property ContentTemplate As DataTemplate
public DataTemplate ContentTemplate { get; set; }
public:
property DataTemplate^ ContentTemplate {
    DataTemplate^ get ();
    void set (DataTemplate^ value);
}
member ContentTemplate : DataTemplate with get, set
function get ContentTemplate () : DataTemplate
function set ContentTemplate (value : DataTemplate)

Property Value

Type: System.Windows.DataTemplate
A template that specifies the visualization of the ribbon group. 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

ContentTemplateProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonGroupTemplateSizeDefinition Class

Microsoft.Windows.Controls.Ribbon Namespace