Skip to main content

ASPxClientDiagram.SetFullscreenMode(fullscreen) Method

Allows you to enable/disable full-screen mode.

Declaration

SetFullscreenMode(
    fullscreen: boolean
): void

Parameters

Name Type Description
fullscreen boolean

true to activate full-screen mode; false to deactivate full-screen mode.

Remarks

In full-screen mode, the Diagram occupies the browser’s entire client region.

<dx:ASPxDiagram ID="Diagram" runat="server" ClientInstanceName="diagram">  
</dx:ASPxDiagram>
diagram.SetFullscreenMode(true);

According to browser requirements, if the Diagram control is contained in a frame, the SetFullscreenMode method should be called in a user-generated event handler (a button click, a key press) for security reasons.

See Also