WebPartMenuStyle.MergeWith(Style) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies nonblank style elements to the WebPartMenuStyle instance, but does not overwrite existing style elements.
public:
override void MergeWith(System::Web::UI::WebControls::Style ^ s);
public override void MergeWith (System.Web.UI.WebControls.Style s);
override this.MergeWith : System.Web.UI.WebControls.Style -> unit
Public Overrides Sub MergeWith (s As Style)
Parameters
Remarks
The MergeWith method is similar to the CopyFrom method in that it copies style elements from a specified Style object, but it differs in that it does not overwrite any existing style elements in the WebPartMenuStyle instance.
Note
One reason this method overrides its base method is to customize the process of assigning a value to the ShadowColor property.