Skip to main content

TileItem.ContentAnimation Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(TileItemContentAnimationType.Default)]
[DXCategory("Appearance")]
public TileItemContentAnimationType ContentAnimation { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.TileItemContentAnimationType Default

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.

TileControl - RandomSegmentedFade

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