View Definitions Overview

You can change RadGridView visual appearance and behavior by using a view definition. To define the view definition you have to set the ViewDefinition.

Telerik UI for WinForms Ninja image

The View Definitions is part of Telerik UI for WinForms, a professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Assign ViewDefinition

this.radGridView1.ViewDefinition = myDefinition;

Me.RadGridView1.ViewDefinition = myDefinition

All view definitions implement the IViewDefinition interface and you could create your own definitions, if you wish. Three different view definitions are currently included:

Figure 1: ColumnGroupsViewDefinition

WinForms RadGridView ColumnGroupsViewDefinition

Figure 2: HtmlViewDefinition

WinForms RadGridView HtmlViewDefinition

See Also

In this article