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

ExtensionMethods..::..GetAbsolutePlacement Method (FrameworkElement, 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,
	bool relativeToScreen
)
<ExtensionAttribute> _
Public Shared Function GetAbsolutePlacement ( _
	element As FrameworkElement, _
	relativeToScreen As Boolean _
) As Rect
[ExtensionAttribute]
public:
static Rect^ GetAbsolutePlacement(
	FrameworkElement^ element, 
	bool^ relativeToScreen
)

Parameters

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

Return Value

Rect.