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

elt
a FrameworkElement within this part
spot
a Spot; if the spot IsNoSpot assume Spot.Center instead.
Compute the point in model coordinates of a spot in a FrameworkElement that is within the visual tree of this part.

Syntax

Visual Basic (Declaration) 
Public Function GetElementPoint( _
   ByVal elt As FrameworkElement, _
   ByVal spot As Spot _
) As Point
C# 
public Point GetElementPoint( 
   FrameworkElement elt,
   Spot spot
)

Parameters

elt
a FrameworkElement within this part
spot
a Spot; if the spot IsNoSpot assume Spot.Center instead.

Return Value

a Point 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.