BaseTile.SetContent(TileItemFrame, Boolean) Method

Forces the current Tile to display a specific TileItemFrame.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public virtual void SetContent(
    TileItemFrame frame,
    bool animated
)
Public Overridable Sub SetContent(
    frame As TileItemFrame,
    animated As Boolean
)

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.

Implements

DevExpress.XtraEditors.ITileItem.SetContent(TileItemFrame, Boolean)
See Also