Redigera

Dela via


Style.MergeWith(Style) Method

Definition

Combines the style properties of the specified Style with the instance of the Style class that this method is called from.

public:
 virtual void MergeWith(System::Web::UI::WebControls::Style ^ s);
public virtual void MergeWith (System.Web.UI.WebControls.Style s);
abstract member MergeWith : System.Web.UI.WebControls.Style -> unit
override this.MergeWith : System.Web.UI.WebControls.Style -> unit
Public Overridable Sub MergeWith (s As Style)

Parameters

s
Style

A Style that represents the style to combine.

Exceptions

Remarks

Use the MergeWith method to combine the style properties of the specified Style with the instance of the Style class that this method is called from.

Caution

All properties, except those that have already been set on the current instance of the Style class, will be replaced by the corresponding property of the Style specified by the s parameter.

Applies to

See also