TransformBounds Method
Collapse the table of content
Expand the table of content

Transform.TransformBounds Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public override Rect TransformBounds(
	Rect rect
)

Parameters

rect
Type: System.Windows.Rect
The bounding box to transform.

Return Value

Type: System.Windows.Rect
The smallest axis-aligned bounding box that can contain the transformed rect.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft