Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Rect.Intersect(Rect) Method

Definition

Namespace:
Windows.Foundation
Assembly:
System.Runtime.WindowsRuntime.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Finds the intersection of the rectangle represented by the current Rect and the rectangle represented by the specified Rect, and stores the result as the current Rect.

public:
 void Intersect(Windows::Foundation::Rect rect);
public void Intersect(Windows.Foundation.Rect rect);
member this.Intersect : Windows.Foundation.Rect -> unit
Public Sub Intersect (rect As Rect)

Parameters

rect
Rect

The rectangle to intersect with the current rectangle.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Rect struct. For more information, see Rect in the UWP API reference.

For more information and examples of this member, see <System.Windows.Rect.Intersect*?displayProperty=nameWithType> in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)

Applies to


Feedback

Was this page helpful?