UIElementAutomationPeer.GetBoundingRectangleCore Metoda

Definicja

Pobiera wartość Rect reprezentującą prostokąt ograniczenia obiektu skojarzonego UIElement z tym UIElementAutomationPeerelementem . Ta metoda jest wywoływana przez GetBoundingRectangle().

protected:
 override System::Windows::Rect GetBoundingRectangleCore();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override System.Windows.Rect GetBoundingRectangleCore ();
protected override System.Windows.Rect GetBoundingRectangleCore ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
Protected Overrides Function GetBoundingRectangleCore () As Rect

Zwraca

Rect

Element Rect , który zawiera współrzędne elementu. Opcjonalnie, jeśli element nie jest elementem i HwndSource PresentationSource, ta metoda zwraca wartość Empty.

Atrybuty

Dotyczy