Back to Devexpress

IDocumentProperties.AllowAnimation Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentproperties-fcd9fdc2.md

latest3.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool AllowAnimation { get; set; }
vb
Property AllowAnimation As Boolean

Property Value

TypeDescription
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

Images

UseFormIconAsDocumentImage

AllowAnimation

StartAnimation()

StopAnimation()

IsAnimated

CanAnimate

IDocumentProperties Interface

IDocumentProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace