Skip to main content

BaseRow Class

Serves as the base class for rows of different types.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public abstract class BaseRow :
    Component,
    IXtraSerializable,
    IRowChangeListener,
    IRowViewScaler,
    IServiceProvider,
    IAppearanceOwner,
    IXtraSerializableLayoutEx

Remarks

The BaseRow class is the base class for all row types in the VGridControlBase descendants. This class is abstract and thus cannot be used directly. It implements the basic row functionality and defines properties and methods common to all row types. These common settings are row options (BaseRow.OptionsRow), height (BaseRow.Height), expanded state (BaseRow.Expanded), appearance (BaseRow.AppearanceCell, BaseRow.AppearanceHeader), visibility state (BaseRow.Visible, BaseRow.VisibleIndex) etc.

Controls derived from the VGridControlBase class have specific methods and properties that either return row objects or accept them as parameters. Such members operating on rows use the BaseRow class as the return or parameter type. This allows you to handle rows of all types using the same property or method. Note that you may need to perform typecasts of such return values to use the functionality specific to each row type. The row type expressed numerically is specified by the BaseRow.XtraRowTypeID property.

BaseRow descendants store only common row settings. Settings specific to each row type are stored in separate objects referred to as row item settings. These settings depend on data displayed by rows and can be accessed via a specially designed BaseRow.Properties property or the BaseRow.GetRowProperties method.

See Also