Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 1.1
.NET Framework
Reference
Class Library
WebControl Class
Methods
 MergeStyle Method
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
WebControl.MergeStyle Method

Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.

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

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

© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker