System.Web.UI.WebControls.TableCell.CreateControlStyle Method

Creates a System.Web.UI.WebControls.TableItemStyle for the System.Web.UI.WebControls.TableCell control.

Syntax

protected override Style CreateControlStyle ()

Returns

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

Remarks

The System.Web.UI.WebControls.TableItemStyle created by the TableCell.CreateControlStyle method is used with the TableCell.Wrap, TableCell.HorizontalAlign, and TableCell.VerticalAlign properties.

The TableCell.CreateControlStyle method is used primarily by control developers extending the functionality of the System.Web.UI.WebControls.TableCell control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0