Skip to main content
A newer version of this page is available. .

BaseRow.Properties Property

Gets an object containing type specific row settings.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v19.1.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Properties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also