InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Win.Interop Namespace / Rect Structure / Contains Method / Contains(Double,Double) Method
The X coordinate of the point to test.
The Y coordinate of the point to test.

In This Topic
    Contains(Double,Double) Method
    In This Topic
    Tests whether a point specified by its coordinates is contained within the current Rect.
    Syntax
    'Declaration
     
    Public Overloads Function Contains( _
       ByVal x As Double, _
       ByVal y As Double _
    ) As Boolean
    public bool Contains( 
       double x,
       double y
    )

    Parameters

    x
    The X coordinate of the point to test.
    y
    The Y coordinate of the point to test.

    Return Value

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