Export (0) Print
Expand All

WebControl.ApplyStyle Method

Copies any nonblank 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.

[Visual Basic]
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
);

Parameters

s
A Style that represents the style to be copied.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

WebControl Class | WebControl Members | System.Web.UI.WebControls Namespace | MergeStyle | Style

Show:
© 2014 Microsoft