BaseRow.RowPropertiesCount Property

Returns the number of objects owned by a row that contains row settings.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[Browsable(false)]
public int RowPropertiesCount { get; }
<Browsable(False)>
Public ReadOnly Property RowPropertiesCount As Integer

Property Value

Type Description
Int32

An integer value representing the total number of objects representing specific row settings.

Remarks

You can use this property to obtain the number of RowProperties or their descendant objects, owned by a row. This property value indicates whether a row is simple or complex.

For simple rows (whose type is CategoryRow or EditorRow) owning a single object representing type specific row properties, the RowPropertiesCount property always returns 1.

For complex rows (of the MultiEditorRow type) containing a collection of RowProperties or descendant objects, the RowPropertiesCount property returns the total number of these objects in the collection.

The image below displays differences between RowPropertiesCount values of simple and complex rows.

BaseRow_RowPropertiesCount

A specific properties containing object owned by a row can be obtained either via the BaseRow.GetRowProperties method or via the BaseRow.Properties property.

See Also