TableItemStyle.CopyFrom Method (Style)

 

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

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

public override void CopyFrom(
	Style s
)

Parameters

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

A Style that represents the style to copy.

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

System_CAPS_cautionCaution

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

.NET Framework
Available since 1.1
Return to top
Show: