Back to Devexpress

CategoryRow.XtraRowTypeID Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-categoryrow-3eaab25e.md

latest2.3 KB
Original Source

CategoryRow.XtraRowTypeID Property

Gets a value indicating the category row‘s type.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[XtraSerializableProperty]
public override int XtraRowTypeID { get; }
vb
<Browsable(False)>
<XtraSerializableProperty>
Public Overrides ReadOnly Property XtraRowTypeID As Integer

Property Value

TypeDescription
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

XtraRowTypeID

CategoryRow Class

CategoryRow Members

DevExpress.XtraVerticalGrid.Rows Namespace