Skip to main content
Tab

PopupWindow.ShowCloseButton Property

Gets or sets a value that specifies whether the popup window’s close button is displayed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ShowCloseButton { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

One of the DefaultBoolean enumeration values.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

Use the ShowCloseButton property to control the visibility of the close button within an individual popup window.

This property settings overrides the ASPxPopupControlBase.ShowCloseButton property that specifies the close button visibility for all popup windows from the ASPxPopupControl.Windows collection.

See Also