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.MenuItemStyle class.
- s
- The System.Web.UI.WebControls.Style to combine settings with.
Use the MenuItemStyle.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.MenuItemStyle 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.MenuItemStyle 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.MenuItemStyle object does not change.