Επεξεργασία

Κοινή χρήση μέσω


WebPartMenuStyle.CopyFrom(Style) Method

Definition

Copies nonblank style elements to the WebPartMenuStyle object, overwriting any existing style elements in the process.

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 contains style information to copy.

Remarks

The CopyFrom method copies style information from the specified Style object, and if there are any existing style elements in the WebPartMenuStyle instance, it overwrites them.

Note

One reason this method overrides its base method is to customize the process of assigning a value to the ShadowColor property.

Applies to

See also