Northwoods.GoWPF 2.2.4 Assembly
GetElementBounds Method

a FrameworkElement within this part
Compute the bounds in model coordinates of a FrameworkElement that is within the visual tree of this part.
Syntax
Public Function GetElementBounds( _
   ByVal elt As FrameworkElement _
) As Rect
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

Reference

Part Class
Part Members
GetElementPoint Method
GetRelativeElementPoint Method

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback