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