ListView::CreateControlStyle Method ()

 

Creates the default style for the control.

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

protected:
virtual Style^ CreateControlStyle() override

Return Value

Type: System.Web.UI.WebControls::Style^

The style for the ListView control.

Exception Condition
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
Available since 3.5
Return to top
Show: