Skip to main content

CategoryRow.XtraRowTypeID Property

Gets a value indicating the category row‘s type.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

[Browsable(false)]
[XtraSerializableProperty]
public override int XtraRowTypeID { get; }

Property Value

Type Description
Int32

An integer value indicating a category row’s type.

Remarks

This property represents a numerical expression of the row’s type. Rows of each type have their XtraRowTypeID properties set to unique values. For category rows (whose type is CategoryRow), the XtraRowTypeID property returns 0. For more infomation on correspondence between row types and their numerical expressions please refer to the BaseRow.XtraRowTypeID topic.

Use this property to programmatically determine the desired row’s type. This can be useful for instance, when you need to cast the return value of a row’s BaseRow.Properties property to the appropriate type based on the processed row’s type.

See Also