Sparkline for UWP | ComponentOne
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / Contains Method
One rectangle to test.
Another rectangle.

In This Topic
    Contains Method (Extensions)
    In This Topic
    Determines if the one rectangular region is entirely contained within another structure.
    Syntax
    'Declaration
     
    
    Public Shared Function Contains( _
       ByVal r As Rect, _
       ByVal rect As Rect _
    ) As Boolean
    public static bool Contains( 
       Rect r,
       Rect rect
    )

    Parameters

    r
    One rectangle to test.
    rect
    Another rectangle.

    Return Value

    This method returns true if the rectangular region represented by rect is entirely contained within r structure; otherwise false.
    See Also