Rediger

Del via


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.

public:
 override void CopyFrom(System::Web::UI::WebControls::Style ^ s);
public override void CopyFrom (System.Web.UI.WebControls.Style s);
override this.CopyFrom : System.Web.UI.WebControls.Style -> unit
Public Overrides Sub CopyFrom (s As Style)

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.

Caution

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

Applies to

See also