ElementExtensions
StockSharp.Xaml.Charting.Common.Extensions
Methods
FindLogicalParent``1
public static T FindLogicalParent<T>(FrameworkElement frameworkElement)
result = ElementExtensions.FindLogicalParent(frameworkElement)
Finds the logical parent of the FrameworkElement
- frameworkElement
- The FrameworkElement.
GetBoundsRelativeTo
internal static Rect? GetBoundsRelativeTo(FrameworkElement element, UIElement otherElement)
result = ElementExtensions.GetBoundsRelativeTo(element, otherElement)
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.