Skip to main content

TcxCustomRow.Parent Property

Specifies the current row’s parent row.

Declaration

property Parent: TcxCustomRow read; write;

Property Value

Type
TcxCustomRow

Remarks

You can use this property to:

  • Determine if the current row has a parent (the Parent property returns nil if the row is at the root level within a vertical grid control). Alternatively, you can use the Level property;

  • Access the nested row’s parent row. Note that you need to cast the Parent property value to the corresponding class (for example, TcxCategoryRow) to access the parent row’s type-specific members;

  • Move the nested row to the vertical grid’s root level or assign the row to a specific parent row (changing the Parent property value changes the row’s nesting level and Level property value).

See Also