RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..GetAbsolutePlacement Method (FrameworkElement, Window, Boolean)

Gets the absolute placement.

Namespace:  RingSoft.DataEntryControls.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.dll)

Syntax


public static Rect GetAbsolutePlacement(
	this FrameworkElement element,
	Window parentWindow,
	bool relativeToScreen
)
<ExtensionAttribute> _
Public Shared Function GetAbsolutePlacement ( _
	element As FrameworkElement, _
	parentWindow As Window, _
	relativeToScreen As Boolean _
) As Rect
[ExtensionAttribute]
public:
static Rect^ GetAbsolutePlacement(
	FrameworkElement^ element, 
	Window^ parentWindow, 
	bool^ relativeToScreen
)

Parameters

element
Type: FrameworkElement
The element.
parentWindow
Type: Window
The parent window.
relativeToScreen
Type: Boolean
if set to true [relative to screen].

Return Value

Rect.