Duplicates the non-empty style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.TableItemStyle class that this method is called from.
- s
- A System.Web.UI.WebControls.Style that represents the style to copy.
Use the TableItemStyle.CopyFrom(Style) method to duplicate the non-empty style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.TableItemStyle class that this method is called from.
All properties in the current instance of the System.Web.UI.WebControls.TableItemStyle class are replaced by the associated property in the s parameter.