RibbonMenuItem.HasGallery Property
Gets a value that indicates whether at least one menu item is a RibbonGallery.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property HasGallery As Boolean
public bool HasGallery { get; private set; }
public:
property bool HasGallery {
bool get ();
private: void set (bool value);
}
member HasGallery : bool with get, private set
function get HasGallery () : boolean
private function set HasGallery (value : boolean)
Property Value
Type: System.Boolean
true if at least one menu item is a RibbonGallery; otherwise, false. The registered default is true. 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 |
.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.