Skip to main content

IDocumentProperties.AllowAnimation Property

Gets or sets if a tab icon’s animation is allowed for all Documents within a TabbedView.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool AllowAnimation { get; set; }

Property Value

Type Description
Boolean

true if a tab icon’s animation is allowed for all Documents within a TabbedView; otherwise, false.

Remarks

You can set animated icons for document tab headers via the BaseDocument.Image property.

If an animated picture is used as a Document‘s icon, you can specify if its animation is enabled or not. The AllowAnimation property manages icon animation availability for all tab icons within the View. You can override these settings for individual Documents via the IDocumentDefaultProperties.AllowAnimation property. By default, tab GIF icons animation is allowed for tabbed documents.

Use the TabbedView.StartAnimation/TabbedView.StopAnimation methods to turn icon animation on/off for all documents within a view. Use the Document.StartAnimation/Document.StopAnimation methods instead to affect individual documents.

See Also