BCGControlBar Library for .NET
AlignRectToRectOuter(Rectangle,Rectangle,DockEdge) Method




Specifies the rectangle to place the control after tracking.
Specifies the current boundaries of the control.
Specifies the dock edge of the control to dock.
Called by the framework on tracking any control. Returns the rectangle to dock the control to the outer edge.
Syntax
'Declaration
 
Public Overloads Shared Function AlignRectToRectOuter( _
   ByVal rectTarget As Rectangle, _
   ByVal rectOrg As Rectangle, _
   ByVal Edge As DockEdge _
) As Rectangle
'Usage
 
Dim rectTarget As Rectangle
Dim rectOrg As Rectangle
Dim Edge As DockEdge
Dim value As Rectangle
 
value = GlobalUtils.AlignRectToRectOuter(rectTarget, rectOrg, Edge)
public static Rectangle AlignRectToRectOuter( 
   Rectangle rectTarget,
   Rectangle rectOrg,
   DockEdge Edge
)
public: static Rectangle AlignRectToRectOuter( 
   Rectangle rectTarget,
   Rectangle rectOrg,
   DockEdge Edge
) 
public:
static Rectangle AlignRectToRectOuter( 
   Rectangle rectTarget,
   Rectangle rectOrg,
   DockEdge Edge
) 

Parameters

rectTarget
Specifies the rectangle to place the control after tracking.
rectOrg
Specifies the current boundaries of the control.
Edge
Specifies the dock edge of the control to dock.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GlobalUtils Class
GlobalUtils Members
Overload List

Send Feedback