In This Topic
Determines if a control is currently within the view determined by the row and column parameters.
Syntax
'Declaration
Public Overridable Function IsChildInView( _
ByVal As Control, _
ByVal As Integer, _
ByVal leftColumn As Integer, _
ByVal As Integer, _
ByVal rightColumn As Integer _
) As Boolean
'Usage
Dim instance As SpreadChildControlContainer
Dim child As Control
Dim topRow As Integer
Dim leftColumn As Integer
Dim bottomRow As Integer
Dim rightColumn As Integer
Dim value As Boolean
value = instance.IsChildInView(child, topRow, leftColumn, bottomRow, rightColumn)
public virtual bool IsChildInView(
Control ,
int ,
int leftColumn,
int ,
int rightColumn
)
Parameters
- child
- Control to check for in view
- topRow
- Top row of view
- leftColumn
- Left column of view
- bottomRow
- Bottom row of view
- rightColumn
- Right column of view
Return Value
Returns true if shape is in view; otherwise false
See Also