System.Web.UI.WebControls.GridView.CreateControlStyle Method

Creates the default style for the control.

Syntax

protected override Style CreateControlStyle ()

Returns

A System.Web.UI.WebControls.Style that represents the style for the control.

Remarks

The GridView.CreateControlStyle method is used to create the default style for the control.

Note:

This method is used primarily by control developers to extend the System.Web.UI.WebControls.GridView control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0