IDocumentDefaultProperties.AllowAnimation Property

Gets or sets whether image animation is allowed for the current Document’s tab.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v21.2.dll


DefaultBoolean AllowAnimation { get; set; }

Property Value

Type Description

A DefaultBoolean value that specifies whether image animation is allowed for the current Document’s tab. Default value means a document will act according to its parent view’s IDocumentProperties.AllowAnimation property value.

Available values:

Name Description

Corresponds to a Boolean value of true.


Corresponds to a Boolean value of false.


The default behavior determined by the control’s logic.


You can display an animated image (.GIF) within a Document’s tab by assigning the image to the Document’s BaseDocument.Image property. By default, image animation is allowed. If required, you can disable image animation for either a specific Document or for all Documents via the AllowAnimation and IDocumentProperties.AllowAnimation property, respectively.

When an animated image is assigned to the Document, the animation starts immediately, unless the image animation is disabled via the mentioned AllowAnimation properties. To manually pause the animation for a specific Document, you can call the Document.StopAnimation method. To pause the animation for all Documents, use TabbedView.StopAnimation. To restart paused animation, use the Document.StartAnimation or TabbedView.StartAnimation method.

See Also