WebPartMenuStyle.CopyFrom(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 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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for