Skip to main content

BaseRow.AppearanceCell Property

Contains appearance settings used to paint row cells.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
[DXCategory("Appearance")]
public AppearanceObjectEx AppearanceCell { get; }

Property Value

Type Description
AppearanceObjectEx

An AppearanceObjectEx object that contains settings used to paint row cells.

Remarks

The VGridControlBase.Appearance.RecordValue property contains appearance settings applied to all control cells. The BaseRow.AppearanceCell property allows you to override these settings for an individual row.

HighPriority Option

The BaseRow.AppearanceCell.Options.HighPriority option specifies whether the row’s appearance settings (BaseRow.AppearanceCell) have priority over other appearance settings. The HighPriority option’s default value is false.

Use… Options

Each appearance property (an AppearanceObject instance) has a set of Use... options: AppearanceObject.Options.UseBackColor, AppearanceObject.Options.UseFont, AppearanceObject.Options.UseForeColor, etc. These options specify whether corresponding appearance settings (AppearanceObject.BackColor, AppearanceObject.Font, AppearanceObject.ForeColor, etc.) are in effect.

If you modify a row’s appearance setting after the row has been added to the VGridControlBase.Rows collection, the corresponding Use… option is enabled automatically. If a row is not added to the VGridControlBase.Rows collection, you should manually enable a corresponding Use… option after you change the row’s appearance setting.

Custom Draw Row Cells

The VGridControlBase.CustomDrawRowValueCell event allows you to paint row cells manually.

See Also