Back to Devexpress

TileItem.ContentAnimation Property

windowsforms-devexpress-dot-xtraeditors-dot-tileitem-4c60ea79.md

latest3.7 KB
Original Source

TileItem.ContentAnimation Property

Gets or sets the animation effect used to display all TileItemFrames within the current TileItem.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(TileItemContentAnimationType.Default)]
[DXCategory("Appearance")]
public TileItemContentAnimationType ContentAnimation { get; set; }
vb
<DefaultValue(TileItemContentAnimationType.Default)>
<DXCategory("Appearance")>
Public Property ContentAnimation As TileItemContentAnimationType

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.TileItemContentAnimationTypeDefault

A TileItemContentAnimationType enumerator value specifying what animation effect will be used to display all TileItemFrames within the current TileItem.

|

Remarks

TileItems support the frame animation feature. Tiles animation is a repeated sequence of TileItem objects. Each of them contains its own TileItemFrame.Elements collection that is used to build content for a specific frame. By default, frames are changed with bottom-to-top animation effect. Use the TileItemFrame.Animation property to specify what animation effect should be used to display a specific TileItemFrame. Use the ContentAnimation and TileControl.ItemContentAnimation properties to set an animation effect common to all frames within a tile or to all tiles within a TileControl respectively.

The figure below illustrates a Random Segmented Fade animation effect, applied to the TileItem.

To specify what TileItem‘s content should remain unchanged, use the TileItemFrame.AnimateText, TileItemFrame.AnimateImage and TileItemFrame.AnimateBackgroundImage properties.

See the Tile Animation topic to learn more.

See Also

Animation

ItemContentAnimation

Tile Animation

TileItem Class

TileItem Members

DevExpress.XtraEditors Namespace