 | WindowAspectsGetFrameworkElementAbsoluteScreenPosition Method |
Absolute screen position of the centre of the associated control.
Namespace: Vishnu.InterchangeAssembly: Vishnu.Interchange (in Vishnu.Interchange.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntaxpublic static Point GetFrameworkElementAbsoluteScreenPosition(
FrameworkElement? frameworkElement,
bool failOnErrors = false
)
Public Shared Function GetFrameworkElementAbsoluteScreenPosition (
frameworkElement As FrameworkElement,
Optional failOnErrors As Boolean = false
) As Point
public:
static Point GetFrameworkElementAbsoluteScreenPosition(
FrameworkElement^ frameworkElement,
bool failOnErrors = false
)
static member GetFrameworkElementAbsoluteScreenPosition :
frameworkElement : FrameworkElement *
?failOnErrors : bool
(* Defaults:
let _failOnErrors = defaultArg failOnErrors false
*)
-> Point Parameters
- frameworkElement FrameworkElement
- The element whose position is to be determined.
- failOnErrors Boolean (Optional)
- If false (default), a replacement position is returned for NullReferenceException.
Return value
PointAbsolute screen position of the centre of the associated control.
Exceptions
See also