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.v20.1.dll


public virtual bool ShowPopupCloseButton { get; set; }
Public Overridable Property ShowPopupCloseButton As Boolean

Property Value

Type Default Description


true to display the close button; otherwise, false


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:

See Also