Silverlight SDK for Microsoft Bing
SetVisualBounds Method (visual, rect)
OverviewSystem.WindowsLayoutHelperSetVisualBounds(UIElement, Rect)
Sets the Canvas.Left, Canvas.Top, Width and Height for a given UIElement instance.
Declaration Syntax
C#Visual BasicVisual C++
public static void SetVisualBounds(
	UIElement visual,
	Rect rect
)
Public Shared Sub SetVisualBounds ( _
	visual As UIElement, _
	rect As Rect _
)
public:
static void SetVisualBounds(
	UIElement^ visual, 
	Rect rect
)
Parameters
visual (UIElement)
The UIElement instance to locate and size.
rect (Rect)
The Rect to use as the bounds.

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