Window.DragContentView

Syntax

DragContentView: Boolean

Description

The DragContentView property determines if window is shown on dragging.

Comments

By default the property is set to True: the window is fully visible on dragging. If the property is set to False only window borders move on dragging, for example:

The property is relevant only if the Window.EnableMove property is set to True.

Example

To execute the example, the HTML page must contain the Window component named win (see Example of Creating the Window Component). Enable window dragging and determine that only window borders move on dragging:

win.setEnableMove(true);
win.setDragContentView(false);

After the example execution dragging is enabled for the window. Only window borders move on window dragging (see the picture in Comments section).

See also:

Window