TableItemStyle.CopyFrom(Style) Method

Definition

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

C#
public override void CopyFrom(System.Web.UI.WebControls.Style s);

Parameters

s
Style

A Style that represents the style to copy.

Remarks

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.

Výstraha

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

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also