Silverlight SDK for Microsoft Bing
GetBounds Method (visual)
OverviewSystem.WindowsLayoutHelperGetBounds(UIElement)
Gets the bounds of a UIElement instance, relative to its parent container.
Declaration Syntax
C#Visual BasicVisual C++
public static Rect GetBounds(
	UIElement visual
)
Public Shared Function GetBounds ( _
	visual As UIElement _
) As Rect
public:
static Rect GetBounds(
	UIElement^ visual
)
Parameters
visual (UIElement)
The UIElement for which the bounds will be returned.
Return Value
A Rect which describes the bounds of the element.

Assembly: System.Windows.Controls.Views.Toolkit (Module: System.Windows.Controls.Views.Toolkit) Version: 1.0.0.0 (1.0.0.0)