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

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

    Parameters

    pt
    The Point to test.

    Return Value

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