PopupWindow.ShowRefreshButton Property
Gets or sets a value that specifies whether a window’s refresh button is displayed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
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 | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Remarks
Use the ShowRefreshButton property to control the refresh button visibility. The refresh button can work in two different ways:
If the PopupWindow.ContentUrl property is not specified, the window performs a callback, so the ASPxPopupControlBase.WindowCallback event is raised.
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.