 | WindowAspectsGetFrameworkElementAbsoluteScreenPosition Methode |
Absolute Bildschirmposition der Mitte des zugehörigen Controls.
Namensraum: Vishnu.InterchangeAssembly: Vishnu.Interchange (in Vishnu.Interchange.dll) Version: 1.0.0+ee7c41c506aa3699a01882f3f94d3758366d0e67
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