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 |
|
Metadata properties set to true |
None |
.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.