Back to Devexpress

WidgetView.AllowStartupAnimation Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-widgetview-63f9365e.md

latest2.8 KB
Original Source

WidgetView.AllowStartupAnimation Property

Gets or sets whether or not this WidgetView‘s content should be displayed with a light animation when displayed.

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 AllowStartupAnimation { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property AllowStartupAnimation As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumerator value that specifies whether or not this WidgetView‘s content should be displayed with a light animation when displayed.

|

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 animation below illustrates the start-up widget animation slowed down by 50 percent.

If the AllowStartupAnimation property is set to Default , the behavior is controlled by the WindowsFormsSettings.AnimationMode global setting. If the global setting is set to Default or EnableAll , the animation is enabled. Otherwise, the animation is disabled. Use the AllowStartupAnimation property to override the global setting, and explicitly specify whether to use the start-up widget animation.

See Also

AnimationMode

WidgetView Class

WidgetView Members

DevExpress.XtraBars.Docking2010.Views.Widget Namespace