SubMenuStyle.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 the style properties of the specified Style object into the current instance of the SubMenuStyle class.
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
Use the CopyFrom method to duplicate the style properties of the specified Style object in the SubMenuStyle object that calls this method.
Caution
All properties in the current instance of the SubMenuStyle class will be replaced by the corresponding properties in the specified Style object.
To copy style properties without replacing any set values, use the MergeWith method.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om