RepositoryItemCalcEdit.ShowCloseButton Property
Gets or sets the value indicating whether the close button should be displayed in the dropdown window.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if the close button is displayed in the dropdown; otherwise false. |
Remarks
The ShowCloseButton property allows you to specify whether the close button is displayed in the left bottom corner of the dropdown window. The following image shows a calc editor with the close button drawn using the XP theme.
When the end-user clicks this button, the dropdown window is closed without accepting the entered value.
This is similar to calling the PopupBaseEdit.CancelPopup method.
After clicking the close button the following events occur:
- RepositoryItemPopupBase.QueryCloseUp
- RepositoryItemPopupBase.CloseUp (the event only occurs if closing the popup window was not canceled in your RepositoryItemPopupBase.QueryCloseUp event handler)
See Also