TTMSFNCDataGridCellControlAlign Enumeration
Determines how an embedded control is docked inside its host cell.
API unit family: TMSFNCDataGridCell
Remarks
Docked controls take the control margins into account; with gcaNone the margins are ignored and the control keeps its own size. The cell text is laid out in the space the control leaves free. Set per cell with TTMSFNCCustomDataGrid.ControlAligns or TTMSFNCDataGridCellItemExtended.ControlAlign.
Members
| Name | Description |
|---|---|
gcaNone |
No docking; the control is placed by ControlPosition instead. |
gcaLeft |
Docks the control to the left edge of the cell. |
gcaTop |
Docks the control to the top edge of the cell. |
gcaRight |
Docks the control to the right edge of the cell. |
gcaBottom |
Docks the control to the bottom edge of the cell. |
gcaClient |
Stretches the control to fill the entire cell content area. |