Επεξεργασία

Κοινή χρήση μέσω


UIElement3DAutomationPeer.GetBoundingRectangleCore Method

Definition

Returns the Rect that represents the bounding rectangle of the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by GetBoundingRectangle().

protected:
 override System::Windows::Rect GetBoundingRectangleCore();
protected override System.Windows.Rect GetBoundingRectangleCore ();
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
Protected Overrides Function GetBoundingRectangleCore () As Rect

Returns

The Rect that contains the coordinates of the element.

Remarks

If the element is not both a HwndSource and a PresentationSource, this method returns Rect.Empty.

Classes that inherit from UIElement3DAutomationPeer typically do not need to override GetBoundingRectangleCore.

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to