BaseRow.AppearanceCell Property
Contains appearance settings used to paint row cells.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
#Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
[DXCategory("Appearance")]
public AppearanceObjectEx AppearanceCell { get; }
#Property Value
Type | Description |
---|---|
Appearance |
An Appearance |
#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
.
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).
#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.