ElementExtensions

StockSharp.Xaml.Charting.Common.Extensions

Methods

FindLogicalParent``1(FrameworkElement)

Finds the logical parent of the FrameworkElement

frameworkElement
The FrameworkElement.
GetBoundsRelativeTo(FrameworkElement, UIElement) : Rect?

Get the bounds of an element relative to another element.

element
The element.
otherElement
The element relative to the other element.

Returns: The bounds of the element relative to another element, or null if the elements are not related.