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

GeneralTransform.TransformBounds Method

When overridden in a derived class, 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 abstract Rect TransformBounds(
	Rect rect


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

Return Value

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


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2016 Microsoft