 | WindowAspectsGetFrameworkElementAbsoluteScreenPosition Methode |
Absolute Bildschirmposition der Mitte des zugehörigen Controls.
Namensraum: Vishnu.InterchangeAssembly: Vishnu.Interchange (in Vishnu.Interchange.dll) Version: 1.0.0+d75bac576d44afb64cfff79fd3665c8ca1172cbc
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
Parameter
- frameworkElement FrameworkElement
- Das Element, dessen Position ermittelt werden soll.
- failOnErrors Boolean (Optional)
- Bei false (default) wird bei NullReferenceException eine Ersatzposition zurück geliefert.
Rückgabewert
PointAbsolute Bildschirmposition der Mitte des zugehörigen Controls.
Ausnahmen
Siehe auch