Infragistics(R) NetAdvantage(R) Windows Forms
Offset(Int32,Int32,Boolean) Method
See Also  E-mail your feedback on this topic.
Infragistics.Win Namespace > UIElement Class > Offset Method : Offset(Int32,Int32,Boolean) Method

deltaX
The number of pixels to offset left/right
deltaY
The number of pixels to offset up/down
recursive
If true will offset all descendant elements as well
Offsets this element's rect and (optionally) all of its descendant elements.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Sub Offset( _
   ByVal deltaX As Integer, _
   ByVal deltaY As Integer, _
   ByVal recursive As Boolean _
) 
C# 
public virtual void Offset( 
   int deltaX,
   int deltaY,
   bool recursive
)

Parameters

deltaX
The number of pixels to offset left/right
deltaY
The number of pixels to offset up/down
recursive
If true will offset all descendant elements as well

See Also