RibbonMenuButton.HasGallery Property

Definition

Gets a value that indicates whether at least one menu item is a RibbonGallery.

C#
public bool HasGallery { get; }

Property Value

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.

Remarks

Dependency Property Information

Item Value
Identifier field HasGalleryProperty
Metadata properties set to true None

Applies to

Produk Versi
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10