System.Web.UI.WebControls Namespace WebControl Class
Copies any non-blank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is primarily used by control developers.
[ VB ]
Public Sub MergeStyle ( _
ByVal s As Style _
)
[ C# ]
public void MergeStyle (
Style s
);
[ C++ ]
public: void MergeStyle (
Style* s
);
[ JScript ]
public function MergeStyle (
s : Style
);
- s
- The style to be copied.
WebControl Members