SciChart.Core Assembly > SciChart.Core.Extensions Namespace > ElementExtensions Class > GetBoundsRelativeTo Method : GetBoundsRelativeTo(FrameworkElement,IHitTestable) Method
The element.
The relative to.
GetBoundsRelativeTo(FrameworkElement,IHitTestable) Method
Gets the bounds of an element relative to another SciChart.Core.Framework.IHitTestable element
Syntax
[Extension()]
public static Rect GetBoundsRelativeTo( 
   FrameworkElement element,
   IHitTestable relativeTo
)

Parameters

element
The element.
relativeTo
The relative to.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also