Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadChildControlContainer Class / IsChildInView Method
Control to check for in view
Top row of view
Left column of view
Bottom row of view
Right column of view


In This Topic
    IsChildInView Method
    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 child As Control, _
       ByVal topRow As Integer, _
       ByVal leftColumn As Integer, _
       ByVal bottomRow 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 child,
       int topRow,
       int leftColumn,
       int bottomRow,
       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