RepositoryItemPopupContainerEdit.ShowPopupCloseButton Property
Gets or sets a value indicating whether the close button is displayed within the popup window.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v26.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool ShowPopupCloseButton { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true | true to display the close button; otherwise, false |
Remarks
The ShowPopupCloseButton property allows you to specify whether the close button is displayed in the left bottom corner of the popup window. The image below shows a popup editor with the close button drawn using an XP theme.

When the end-user clicks the button, the dropdown window is closed without invoking the RepositoryItemPopupContainerEdit.QueryResultValue event. This is similar to pressing the ESC key or calling the PopupBaseEdit.CancelPopup method.
After clicking the close button, the following events are raised:
- RepositoryItemPopupBase.QueryCloseUp;
- RepositoryItemPopupBase.CloseUp (the event occurs only if the close of the popup window was not canceled in your RepositoryItemPopupBase.QueryCloseUp event handler).