Intersoft ClientUI Documentation
Adapt Method
See Also  Send Feedback
Intersoft.Client.Framework.Regions Namespace > RegionAdapterBase<T> Class : Adapt Method






region
The region of which object to adapt.
regionTarget
The object to adapt.
Adapts an object (typically a control) to the specified IRegion.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Adapt( _
   ByVal region As IRegion, _
   ByVal regionTarget As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As RegionAdapterBase(Of T)
Dim region As IRegion
Dim regionTarget As T
 
instance.Adapt(region, regionTarget)
C# 
public virtual void Adapt( 
   IRegion region,
   T regionTarget
)
Delphi 
public procedure Adapt( 
    region: IRegion;
    regionTarget: T
); virtual; 
JScript 
public function Adapt( 
   region : IRegion,
   regionTarget : T
);
Managed Extensions for C++ 
public: virtual void Adapt( 
   IRegion* region,
   T* regionTarget
) 
C++/CLI 
public:
virtual void Adapt( 
   IRegion^ region,
   T^ regionTarget
) 

Parameters

region
The region of which object to adapt.
regionTarget
The object to adapt.

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 All Rights Reserved.