This documentation is archived and is not being maintained.
WebPartMenuStyle::CopyFrom Method
Visual Studio 2010
This API supports the .NET Framework 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.
Assembly: System.Web (in System.Web.dll)
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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
Note