Intersoft WebGrid Documentation
CopyFrom(Style) Method
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatStyle Class > CopyFrom Method : CopyFrom(Style) Method






style
A Style object that represents the style to copy.
Duplicates the style properties of the specified Style into the instance of the Style class from which this method is invoked.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Sub CopyFrom( _
   ByVal style As Style _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim style As Style
 
instance.CopyFrom(style)
C# 
public override void CopyFrom( 
   Style style
)
Delphi 
public procedure CopyFrom( 
    style: Style
); override; 
JScript 
public override function CopyFrom( 
   style : Style
);
Managed Extensions for C++ 
public: void CopyFrom( 
   Style* style
) override 
C++/CLI 
public:
void CopyFrom( 
   Style^ style
) override 

Parameters

style
A Style object that represents the style to copy.

Remarks

Use the CopyFrom method to duplicate the style properties of the specified Style into the instance of the Style class from which this method is invoked.

All properties in the current instance of the Style class will be replaced by their corresponding properties in the Style specified by the style parameter.

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

©2012 Intersoft Solutions Corp. All Rights Reserved.