TileItem.SetContent(TileItemFrame, Boolean) Method
Forces the current tile item to display a specific TileItemFrame.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual void SetContent(
TileItemFrame frame,
bool animated
)
#Parameters
Name | Type | Description |
---|---|---|
frame | Tile |
A Tile |
animated | Boolean | A Boolean value indicating whether the frame should be displayed using the frame animation. |
#Remarks
TileItems support frame animation. See the Tile Animation topic to learn more.
The SetContent method allows you to display any TileItemFrame as the current tile item’s content. The frame to be displayed doesn’t need to be a member of the current tile item’s TileItem.Frames collection. This allows you to display custom frames or frames used within other tile items.
Note
Notice that calling the Set
The SetContent method can be used to set the content of both static and animated tile items.