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

GridViewAppearances.TopNewRow Property

Gets the appearance settings used to paint the new item row when it is displayed at the top of a View.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public AppearanceObject TopNewRow { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object that provides the appearance settings used to paint the new item row when it is displayed at the top of a View.

Remarks

The new item row is displayed at the top of a View if the View’s GridOptionsView.NewItemRowPosition property is set to the NewItemRowPosition.Top value. In this case, its appearance is specified by the TopNewRow property. The focused new item row is painted using the appearance settings provided by the GridViewAppearances.Row property.

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TopNewRow 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