AddControl(Control,Int32,Int32,Int32,Int32) Method
In This Topic
Adds a child control to the control container for the sheet at the specified row and column, with specified pixel offsets.
Syntax
'Declaration
Public Overloads Overridable Sub AddControl( _
ByVal As Control, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim instance As SheetView
Dim control As Control
Dim row As Integer
Dim column As Integer
Dim offsetX As Integer
Dim offsetY As Integer
instance.AddControl(control, row, column, offsetX, offsetY)
public virtual void AddControl(
Control ,
int ,
int column,
int ,
int
)
Parameters
- control
- Child control to add
- row
- Row index at which to add child control
- column
- Column index at which to add child control
- offsetX
- Number of horizontal pixels to offset from the specified column index
- offsetY
- Number of vertical pixels to offset from the specified row index
See Also