Northwoods.GoSilverlight 1.2.2 Assembly
GetElementBounds Method
See Also  Send Feedback
Northwoods.GoXam Namespace > Part Class : GetElementBounds Method

elt
a FrameworkElement within this part
Compute the bounds in model coordinates of a FrameworkElement that is within the visual tree of this part.

Syntax

Visual Basic (Declaration) 
Public Function GetElementBounds( _
   ByVal elt As FrameworkElement _
) As Rect
C# 
public Rect GetElementBounds( 
   FrameworkElement elt
)

Parameters

elt
a FrameworkElement within this part

Return Value

a Rect in model coordinates, taking any transforms into account; if the part has not yet been positioned, the (X,Y) position will be (NaN, NaN).

Requirements

See Also

© 2010 All Rights Reserved.