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

TdxCustomTileBar.CreateItem(TdxTileBarItemSize,TdxTileControlGroup) Method

Creates a new tile.

#Declaration

Delphi
function CreateItem(ASize: TdxTileBarItemSize; AGroup: TdxTileControlGroup = nil): TdxTileBarItem; reintroduce;

#Parameters

Name Type
ASize TdxTileBarItemSize
AGroup TdxTileControlGroup

#Returns

Type
TdxTileBarItem

#Remarks

This function returns a new tile added to the Items collection.

The ASize parameter specifies one of the predefined size values of the created tile item, initializing its Size property.

The optional AGroup parameter allows you to specify one of the existing tile groups to which the newly created tile is linked. By default, if nil is passed as the AGroup parameter, the CreateItem function links the created tile item to the last visible group in the Groups collection. If there are no visible groups in the tile bar control, a new group is created as a container for the newly created tile. To identify a group to which the tile is linked, use its Group property.

Note

You can pass a hidden group as the AGroup parameter. The resulting tile item is invisible, like any other tile linked to a hidden group.

See Also