Skip to main content

BaseTile.SetContent(TileItemFrame, Boolean) Method

Forces the current Tile to display a specific TileItemFrame.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void SetContent(
    TileItemFrame frame,
    bool animated
)

Parameters

Name Type Description
frame TileItemFrame

A TileItemFrame to be displayed.

animated Boolean

A Boolean value indicating whether the frame should be displayed using the frame animation.

Remarks

Tiles support frame animation. See the Tile Animation topic to learn more. The SetContent method allows you to display any TileItemFrame as the current Tile’s content. The frame to be displayed doesn’t need to be a member of the current Tile’s BaseTile.Frames collection. This allows you to display custom frames or frames used within other Tiles.

The SetContent method can be used to set the content of both static and animated Tiles.

See Also