UIElement3DAutomationPeer.GetBoundingRectangleCore Metodo

Definizione

Restituisce l'oggetto Rect che rappresenta il rettangolo di delimitazione dell'oggetto UIElement3D associato a UIElement3DAutomationPeer. Questo metodo viene chiamato da 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

Restituisce

Rect

Oggetto Rect che contiene le coordinate dell'elemento.

Commenti

Se l'elemento non è sia un HwndSource oggetto che un PresentationSourceoggetto , questo metodo restituisce Rect.Empty.

Le classi che ereditano da UIElement3DAutomationPeer non devono in genere eseguire l'override GetBoundingRectangleCoredi .

UIElement3DAutomationPeerè stato introdotto nella .NET Framework versione 3.5. Per altre informazioni, vedere Versioni e dipendenze.

Si applica a