ElementExtensions
StockSharp.Xaml.Charting.Common.Extensions
方法
FindLogicalParent``1
public static T FindLogicalParent<T>(FrameworkElement frameworkElement)
result = ElementExtensions.FindLogicalParent(frameworkElement)
找到 FrameworkElement 的逻辑母程序
- frameworkElement
- FrameworkElement.
GetBoundsRelativeTo
internal static Rect? GetBoundsRelativeTo(FrameworkElement element, UIElement otherElement)
result = ElementExtensions.GetBoundsRelativeTo(element, otherElement)
获取元素相对于另一个元素的界限。
- element
- 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素
- otherElement
- 元素相对于其他元素.
返回值: 元素相对于另一个元素的界限,或者如果元素没有关联则无效.