Skip to main content

BaseRow.Properties Property

Gets an object containing type specific row settings.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

[DXCategory("Properties")]
public virtual RowProperties Properties { get; }

Property Value

Type Description
RowProperties

An instance of the RowProperties class or its descendant representing type specific row properties.

Remarks

This property provides access to the object containing specific row settings. Type specific row properties are incorporated in an object, which is an instance of the RowProperties class or some of its descendants.

Use the Properties property to gain access to a specific row’s RowProperties object. Using this property is based on the row type.

  • For simple rows (whose type is CategoryRow or EditorRow), the Properties property provides access to their single object that represents specific row’s settings.
  • For complex rows (rows of the MultiEditorRow type), which can maintain a collection of RowProperties derived objects, the Properties property can be used to obtain the first (zero-indexed) object in the collection. The collection can be accessed via the row’s MultiEditorRow.PropertiesCollection property.

In order to access a RowProperties derived object specified by its collection index, you can use the BaseRow.GetRowProperties method. The BaseRow.RowPropertiesCount property obtains the number of such objects in the collection.

As implemented in the BaseRow class, the Properties property returns null (Nothing in Visual Basic). Descendant classes (such as EditorRow, MultiEditorRow) override this property to return an object of the required type.

See Also