WebPartMenuStyle.CopyFrom Method (Style)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

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

public override void CopyFrom(
	Style s
)

Parameters

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

A Style that contains style information to copy.

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.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show: