Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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.ImageOptions.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