Skip to main content

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.v24.1.dll

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

Declaration

[Browsable(false)]
public GridViewAppearances PaintAppearance { get; }

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