Skip to main content
A newer version of this page is available. .
Tab

PopupWindow.ShowRefreshButton Property

Gets or sets a value that specifies whether a window’s refresh button is displayed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
DefaultBoolean Default

true, if the button is displayed; otherwise, false.

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 ShowRefreshButton property to control the refresh button visibility. The refresh button can work in two different ways:

  1. If the PopupWindow.ContentUrl property is not specified, the window performs a callback, so the ASPxPopupControlBase.WindowCallback event is raised.

  2. If the PopupWindow.ContentUrl property is specified, the window refreshes the page inside the iframe.

If the ShowRefreshButton property is set to default, the refresh button visibility is determined by the ASPxPopupControlBase.ShowRefreshButton property.

See Also