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

BaseTile.SetContent(TileItemFrame, Boolean) Method

Forces the current Tile to display a specific TileItemFrame.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.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