Back to Devexpress

EditorRow.XtraRowTypeID Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-editorrow-b48dcd00.md

latest2.3 KB
Original Source

EditorRow.XtraRowTypeID Property

Gets a value indicating the editor 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 the type of an editor row.

|

Remarks

This property represents a numerical expression of the row type. Rows of each type have their XtraRowTypeID properties set to unique values. For editor rows (whose type is EditorRow), the XtraRowTypeID property returns 1. For more information 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

EditorRow Class

EditorRow Members

DevExpress.XtraVerticalGrid.Rows Namespace