Skip to main content

DockLayoutManager.AllowAeroSnap Property

Gets or sets whether floating panels can be can be resized using the Aero Snap feature. This property is in effect in the Desktop floating mode. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v23.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

[Browsable(false)]
public bool AllowAeroSnap { get; set; }

Property Value

Type Description
Boolean

true, if floating panels can be can be resized using the Aero Snap feature; otherwise, false. The default is true.

Remarks

In Windows Vista and later versions, a floating panel can be quickly resized using the Aero Snap feature. This feature allows an end-user to resize a panel by dragging it to a screen edge. When the panel is dragged to the left or right screen edge, it is automatically resized so that it occupies the half of the screen on the corresponding side. If the panel is dragged to the top screen edge, it is maximized up to full-screen. To restore the previous panel size, an end-user can drag it away from the occupied position.

It is also possible to use the Aero Snap feature via shortcuts. To expand the panel, use the Win+↑ (←, →) key combinations. To restore the previous size, press Win+↓.

The AllowAeroSnap property specifies whether the Aero Snap feature is enabled. By default, it is enabled. Note that this feature is only in effect in the Desktop floating mode (see DockLayoutManager.FloatingMode).

See Also