GalleryDropDown.CanShowPopup Property

Indicates whether the current GalleryDropDown can be displayed onscreen.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public override bool CanShowPopup { get; }
Public Overrides ReadOnly Property CanShowPopup As Boolean

Property Value

Type Description
Boolean

true, if the GalleryDropDown can be displayed; otherwise, false.

Remarks

The CanShowPopup property returns a Boolean value which specifies whether the Dropdown control can be displayed onscreen.

A GalleryDropDown control cannot be displayed onscreen if it doesn't belong to a Ribbon Control (in this instance, the Dropdown control's PopupMenuBase.Ribbon property is set to null).

The CanShowPopup property supports the internal infrastructure and generally there is no need to use it directly from your code.

See Also