ElementExtensions

StockSharp.Xaml.Charting.Common.Extensions

Métodos

FindLogicalParent``1
public static T FindLogicalParent<T>(FrameworkElement frameworkElement)
result = ElementExtensions.FindLogicalParent(frameworkElement)

Encuentra al padre lógico de la FrameworkElement

frameworkElement
FrameworkElement.
GetBoundsRelativeTo
internal static Rect? GetBoundsRelativeTo(FrameworkElement element, UIElement otherElement)
result = ElementExtensions.GetBoundsRelativeTo(element, otherElement)

Obtener los límites de un elemento relativo a otro elemento.

element
El elemento.
otherElement
El elemento relativo al otro elemento.

Devuelve: Los límites del elemento en relación con otro elemento, o nulo si los elementos no están relacionados.