Skip to main content

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.v24.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.

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:

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowPopupCloseButton property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also