GridView.CreateControlStyle Method ()


This API supports the product infrastructure and is not intended to be used directly from your code.

Creates the default style for the control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

override CreateControlStyle : unit -> Style

Return Value

Type: System.Web.UI.WebControls.Style

A Style that represents the style for the control.

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


This method is used primarily by control developers to extend the GridView control.

.NET Framework
Available since 2.0
Return to top