Combines the style properties of the specified System.Web.UI.WebControls.Style object with those of the current instance of the System.Web.UI.WebControls.SubMenuStyle class.
- s
- The System.Web.UI.WebControls.Style object to combine settings with.
Use the SubMenuStyle.MergeWith(Style) method to combine the style properties of the specified System.Web.UI.WebControls.Style object with the style properties of the System.Web.UI.WebControls.SubMenuStyle object that this method is called from.
This method joins the style properties by setting each property that is not set in the current System.Web.UI.WebControls.SubMenuStyle object with its corresponding value in the specified System.Web.UI.WebControls.Style object. Only properties that have not been set will be updated. If a property in the specified System.Web.UI.WebControls.Style object is not set, the corresponding property in the current System.Web.UI.WebControls.SubMenuStyle object does not change.