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.
Syntax
| Visual Basic (Declaration) |
|
Public Sub ApplyStyle( _
ByVal s As Style _
) |
| Visual Basic (Usage) |
Copy Code |
Dim instance As Chart
Dim s As Style
instance.ApplyStyle(s)
|
| C# |
|
public void ApplyStyle(
Style s
) |
Parameters
- s
- A Style that represents the style to be copied.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also