ComponentOne DashboardLayout for WinForms
SetBounds Method

C1.Win.Layout Namespace > ILayout Interface : SetBounds Method
ItemContainer for setting bounds (resizing/moving).
System.Drawing.Rectangle bounds for the ItemContainer.
Current DragType that initiated resizing/moving.
Sets bounds for the ItemContainer instance.
Syntax
'Declaration
 
Function SetBounds( _
   ByVal itemContainer As Object, _
   ByVal bounds As Rectangle, _
   ByVal dragType As DragType _
) As Boolean

Parameters

itemContainer
ItemContainer for setting bounds (resizing/moving).
bounds
System.Drawing.Rectangle bounds for the ItemContainer.
dragType
Current DragType that initiated resizing/moving.
See Also

Reference

ILayout Interface
ILayout Members