Skip to main content

CategoryRowProperties Class

Contains row item settings for a category row.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public class CategoryRowProperties :
    RowProperties

Remarks

Each type of row has its own corresponding type of row item settings. The CategoryRowProperties class is used to provide row item settings for rows of the category type.

This class is a direct descendant of the RowProperties class, so it inherits common row item settings declared by RowProperties. Since category rows display headers only and do not display any data cells, they do not use most of the inherited settings. Rows of this kind need only the settings that affect their header, such as caption text (RowProperties.Caption) and image (RowProperties.ImageIndex).

For the reasons mentioned above, the CategoryRowProperties class overrides some inherited properties (CategoryRowProperties.FieldName, CategoryRowProperties.RowHandle) in order to hide them from the Row Designer page of the Property Editor designer and to null the properties’ values.

You do not need to manually create and initialize the CategoryRowProperties object, since it is created automatically when a category row is instantiated.

A CategoryRowProperties object can be accessed using the row’s CategoryRow.Properties property.

Inheritance

Object
RowProperties
CategoryRowProperties
See Also