Skip to main content
A newer version of this page is available. .

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PaintAppearance property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also