Skip to main content

RepositoryItemPopupGalleryEdit.ShowPopupCloseButton Property

Gets or sets whether the Cancel button is displayed in the PopupGalleryEdit control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowPopupCloseButton { get; set; }

Property Value

Type Default Description
Boolean true

true if the Cancel button is displayed; otherwise, false.

Remarks

If the RepositoryItemPopupGalleryEdit.ShowButtons property is set to true, the OK and Cancel buttons are displayed in the PopupGalleryEdit popup window. Set the ShowPopupCloseButton property to false to hide the Cancel button. The visibility of the OK button is not affected by the ShowPopupCloseButton property.

See Also