Table::CreateControlStyle Method ()

 

Gets a reference to a collection of properties that define the appearance of a Table control.

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

protected:
virtual Style^ CreateControlStyle() override

Return Value

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

A reference to the Style object that contains the properties that define the appearance of the Table control.

This method is used primarily by control developers when deriving a custom control from the Table class.

The following code example demonstrates how to override the CreateControlStyle method in a custom server control so that it always returns an empty TableStyle for the Table.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: