Skip to main content

TileItemFrameCollection.Add(TileItemFrame) Method

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public int Add(
    TileItemFrame item
)

Parameters

Name Type Description
item TileItemFrame

A TileItemFrame to be added.

Returns

Type Description
Int32

An Int32 value indicating the position into which the new frame was added.

Remarks

A TileItem‘s frame collection can be obtained via the TileItem.Frames property. The Add method adds a new tile item frame into a TileItemFrameCollection collection and places it last. Use the TileItemFrameCollection.Insert method instead to manually specify added group’s position. The TileItemFrameCollection.Remove method deletes a specific tile group out of a TileItemFrameCollection.

To add a frame into a tile’s TileItem.Frames collection at design-time, use the Frame Collection Editor. See the Tile Animation topic to learn more.

See Also