Back to Devexpress

WidgetView.AllowResizeAnimation Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-widgetview-44318ef2.md

latest3.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowResizeAnimation { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property AllowResizeAnimation As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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.

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

Widget View

AllowDocumentStateChangeAnimation

AnimationMode

WidgetView Class

WidgetView Members

DevExpress.XtraBars.Docking2010.Views.Widget Namespace