windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-baserow-108d5ef7.md
Contains appearance settings used to paint row cells.
Namespace : DevExpress.XtraVerticalGrid.Rows
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
[DXCategory("Appearance")]
public AppearanceObjectEx AppearanceCell { get; }
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
<XtraSerializablePropertyId(1)>
<DXCategory("Appearance")>
Public ReadOnly Property AppearanceCell As AppearanceObjectEx
| Type | Description |
|---|---|
| AppearanceObjectEx |
An AppearanceObjectEx object that contains settings used to paint row cells.
|
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.
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.
PropertyGridControl — In Office mode, enable the HighPriority option to apply a row’s appearance settings to the row’s cell editor.
VGridControl — Enable the HighPriority option for the row’s appearance settings to override the appearance settings of the focused and selected records (VGridControl.Appearance.FocusedRecord and VGridControl.Appearance.SelectedRecord).
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.
The VGridControlBase.CustomDrawRowValueCell event allows you to paint row cells manually.
See Also