編輯

共用方式為


RibbonContextMenu.HasGallery Property

Definition

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

public:
 property bool HasGallery { bool get(); };
public bool HasGallery { get; }
member this.HasGallery : bool
Public ReadOnly Property HasGallery As Boolean

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

Identifier field HasGalleryProperty
Metadata properties set to true None

Applies to