Back to Devexpress

RichEditCommands.setFullscreen Property

aspnet-js-richeditcommands-bc5482f7.md

latest1.2 KB
Original Source

RichEditCommands.setFullscreen Property

Gets a command to toggle the fullscreen mode.

Declaration

ts
get setFullscreen(): SetFullscreenCommand

Property Value

TypeDescription
SetFullscreenCommand

An object that provides methods that execute the command and check its state.

|

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

javascript
richEdit.commands.setFullscreen.execute(true);

According to browser requirements, if the RichEdit 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.

Refer to the following section for more information: Client Commands.

See Also

RichEditCommands Class

RichEditCommands Members