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 As Windows.Foundation.Rect, _
ByVal As Windows.Foundation.Rect _
) As System.Boolean
public static System.bool Contains(
Windows.Foundation.Rect ,
Windows.Foundation.Rect
)
Parameters
- r
- One rectangle to test.
- rect
- Another rectangle.
Return Value
This method returns true if the rectangular region represented by is entirely contained within structure; otherwise false.
See Also