Skip to main content

TcxGridMasterDataRow.HasChildren Property

Determines whether the current master row contains any non-empty detail Views.

Declaration

property HasChildren: Boolean read;

Property Value

Type
Boolean

Remarks

The HasChildren property returns True when the current master row contains at least one non-empty detail View. Otherwise, False is returned.

This property is used internally to determine whether the expand button of a particular master row should be displayed when the View’s OptionsView.ExpandButtonsForEmptyDetails property is in effect.

To learn more about creating master-detail relationships refer to the Master-Detail topic.

See Also