ComponentOne Basic Library for UWP
Contains Method (Extensions)

C1.UWP Assembly > C1.Xaml Namespace > Extensions Class : Contains Method
One rectangle to test.
Another rectangle.
Determines if the one rectangular region is entirely contained within another structure.
Syntax
'Declaration
 
Public Shared Function Contains( _
   ByVal r As Windows.Foundation.Rect, _
   ByVal rect As Windows.Foundation.Rect _
) As System.Boolean
public static System.bool Contains( 
   Windows.Foundation.Rect r,
   Windows.Foundation.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

Reference

Extensions Class
Extensions Members