Skip to main content
A newer version of this page is available. .

WidgetView.AllowResizeAnimation Property

Gets or sets whether Documents within this WidgetView are resized using a smooth animation effect.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowResizeAnimation { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True if Documents within this WidgetView are resized using a smooth animation effect; False if not; Default uses the WindowsFormsSettings.AnimationMode global setting.

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

The AllowResizeAnimation property specifies whether Documents are resized with a smooth animation effect immediately, or after short delay as the parent form resizes. The figure below illustrates the WidgetView with the AllowResizeAnimation property set to DefaultBoolean.True.

WidgetView - Resize Animation

If the AllowResizeAnimation property is set to Default, the behavior is controlled by the WindowsFormsSettings.AnimationMode global setting. If the global setting is set to EnableAll, the animation is enabled; otherwise, the animation is disabled.

You can also specify whether or not to animate Document state change operations (Maximize, Restore, Collapse) via the WidgetView.AllowDocumentStateChangeAnimation property.

See Also