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.v20.1.dll

Declaration

DefaultBoolean AllowAnimation { get; set; }
Property AllowAnimation As DefaultBoolean

Property Value

Type Description
DefaultBoolean

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.

Remarks

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