Syncfusion.SfMenu.UWP
The element.
The element relative to the other element.

GetBoundsRelativeTo Method

Returns the size of an UI element and its position relative to another framework element.
Syntax
[Extension()]
public static Nullable<Rect> GetBoundsRelativeTo( 
   FrameworkElement element,
   UIElement otherElement
)

Parameters

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

Return Value

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

Syncfusion.SfMenu.UWP: 16.4460.0.52

See Also