Skip to main content

TileGroupCollection.Add(TileGroup) Method

Adds a new TileGroup into a TileGroupCollection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public int Add(
    TileGroup group
)

Parameters

Name Type Description
group TileGroup

A TileGroup to be added.

Returns

Type Description
Int32

An Int32 value indicating the position at which the new element was added.

Remarks

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

See Also