Combines the style properties of the specified System.Web.UI.WebControls.Style object with the style properties of the current System.Web.UI.WebControls.TreeNodeStyle object.
- s
- The System.Web.UI.WebControls.Style that will merge with the current node's settings.
Use the TreeNodeStyle.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.TreeNodeStyle object that this method is called from.
The TreeNodeStyle.MergeWith(Style) method joins the style properties by setting each property that is not set in the current System.Web.UI.WebControls.TreeNodeStyle object with its corresponding value in the specified System.Web.UI.WebControls.Style object. Only properties that have not been set are 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.TreeNodeStyle object does not change.