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

ASPxDashboardViewer.FullscreenMode Property

Gets or sets whether the ASPxDashboardViewer is in full-screen mode.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.dll

Declaration

[DefaultValue(false)]
public bool FullscreenMode { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if the ASPxDashboardViewer is in the full-screen mode; otherwise, false.

Remarks

Set the FullscreenMode property to true to allow the dashboard to fill the entire page. This mode is designed to provide the best look for the dashboard on mobile devices.

Note that when you set the FullscreenMode property to true, the Height and Width properties are set to a value of 100%. Specific style settings are applied to page elements (such as HTML, BODY, FORM) on the client side, to disable default page padding, margin and scrolling settings and set the height of these container elements to 100%.

<style type="text/css">
     html, body, form {
          height: 100%;
          margin: 0;
          padding: 0;
          overflow: hidden;
     }
</style>

Note

The ASPxDashboardViewer must be the root control on the page to be rendered properly in the full-screen mode.

See Also