System.Web.UI.WebControls.TableItemStyle.CopyFrom Method

Duplicates the non-empty style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.TableItemStyle class that this method is called from.

Syntax

public override void CopyFrom (Style s)

Parameters

s
A System.Web.UI.WebControls.Style that represents the style to copy.

Remarks

Use the TableItemStyle.CopyFrom(Style) method to duplicate the non-empty style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.TableItemStyle class that this method is called from.

Note:

All properties in the current instance of the System.Web.UI.WebControls.TableItemStyle class are replaced by the associated property in the s parameter.

Requirements

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