Skip to main content

BaseView.UseSnappingEmulation Property

Gets or sets whether this BaseView uses snapping emulation for its child documents.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean UseSnappingEmulation { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

A DefaultBoolean enumeration value that specifies whether or not this BaseView uses snapping emulation for its child documents.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

In Windows 7 and newer Microsoft operating systems, dragging a form to a screen edge displays a semi-transparent layer that allows you to dock the form to this edge and preview its position. This feature requires visible form borders to work properly. Application UI Manager‘s documents are implemented as borderless forms, so window snapping is not supported by default. Set the UseSnappingEmulation property to DefaultBoolean.True to turn on snapping emulation that fully imitates default Windows snapping.

See Also