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

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public virtual bool ShowPopupCloseButton { get; set; }
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Overridable Property ShowPopupCloseButton As Boolean

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.

PopupEdit_ShowPopupCloseButton

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