TdxCustomLayoutItem.PutIntoHiddenGroup(TdxLayoutDirection) Method
Creates a hidden group and moves the layout element to it.
Declaration
function PutIntoHiddenGroup(ALayoutDirection: TdxLayoutDirection): TdxLayoutAutoCreatedGroup;
Parameters
Name | Type |
---|---|
ALayoutDirection | TdxLayoutDirection |
Returns
Type |
---|
TdxLayoutAutoCreatedGroup |
Remarks
Call this function to change the position of the layout element within its parent group, but this new element position does not match the parent group’s layout direction. The PutIntoHiddenGroup function creates a new hidden group within the parent group and then moves the layout element to this group. The ALayoutDirection parameter specifies the element’s layout direction within the newly created hidden group.
Available values for the ALayoutDirection parameter include:
Value | Description |
---|---|
ldHorizontal | Elements are arranged horizontally within the newly created hidden group. |
ldVertical | Elements are arranged vertically within the newly created hidden group. |
See Also