Ribbon for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Contains Method / Contains(Rect) Method
The Rect to test.

In This Topic
    Contains(Rect) Method
    In This Topic
    Tests whether the specified rectangle is entirely contained within the current Rect.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal rc As Rect _
    ) As Boolean
    public bool Contains( 
       Rect rc
    )

    Parameters

    rc
    The Rect to test.

    Return Value

    true if rc is completely contained within the current Rect structure, false otherwise.
    See Also