Share via


RibbonMenuItem.UsesItemContainerTemplate Property

Gets or sets a value that indicates whether the control uses the ItemContainerTemplateSelector to generate an ItemContainerTemplate.

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

Syntax

'Declaration
Public Property UsesItemContainerTemplate As Boolean
public bool UsesItemContainerTemplate { get; set; }
public:
property bool UsesItemContainerTemplate {
    bool get ();
    void set (bool value);
}
member UsesItemContainerTemplate : bool with get, set
function get UsesItemContainerTemplate () : boolean
function set UsesItemContainerTemplate (value : boolean)

Property Value

Type: System.Boolean
true to use the ItemContainerTemplateSelector; otherwise, false.

Dependency Property Information

Identifier field

UsesItemContainerTemplateProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace