Combines the style settings of the specified System.Web.UI.WebControls.Style object with the current instance of the System.Web.UI.WebControls.PanelStyle class.
- s
- A System.Web.UI.WebControls.Style object that represents the style settings to combine with the System.Web.UI.WebControls.PanelStyle object.
You can use the PanelStyle.MergeWith(Style) method to combine the style settings of the specified System.Web.UI.WebControls.Style object with the current instance of the System.Web.UI.WebControls.PanelStyle class.
The PanelStyle.MergeWith(Style) method copies non-blank elements from the specified System.Web.UI.WebControls.Style object, s, but does not replace any existing style settings in the System.Web.UI.WebControls.PanelStyle object. To replace the style settings in the System.Web.UI.WebControls.PanelStyle object with the style settings in s, use the PanelStyle.CopyFrom(Style) method.