ComponentOne SuperTooltip for WinForms
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 System.Double, _
       ByVal y As System.Double _
    ) As System.Boolean
    public System.bool Contains( 
       System.double x,
       System.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