Export (0) Print
Expand All
Expand Minimize

ListView.CreateControlStyle Method

Creates the default style for the control.

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

abstract CreateControlStyle : unit -> Style  
override CreateControlStyle : unit -> Style

Return Value

Type: System.Web.UI.WebControls.Style
The style for the ListView control.

ExceptionCondition
NotSupportedException

An attempt was made to invoke the CreateControlStyle method.

Style properties are not supported by the ListView control. If you try to call the CreateControlStyle method, a NotSupportedException exception is thrown.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft