FrameworkElement
that is within the visual tree of this part.
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
aRect
in model coordinates, taking any transforms into account; if the part has not yet been positioned, the (X,Y) position will be (NaN, NaN).