GridView.PaintAppearance Property

Provides access to the appearance settings currently used to paint the Grid View's elements.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Browsable(false)]
public GridViewAppearances PaintAppearance { get; }
<Browsable(False)>
Public ReadOnly Property PaintAppearance As GridViewAppearances

Property Value

Type Description
GridViewAppearances

A GridViewAppearances object which provides the appearance settings currently used to paint the Grid View's elements.

Remarks

The appearance settings used to paint the Grid View's elements (buttons, headers, data cells, etc.) are specified by the GridView.Appearance property. If these settings are not specified or not used (the corresponding appearance options are disabled) the elements are painted based upon the look and feel settings.

The PaintAppearance property allows the appearance settings which are actually used to be obtained. This can be especially useful when custom painting the View's elements.

For more information on appearances, see the Appearance and Conditional Formatting document.

See Also