IXamlDirect.GetRectProperty(Object, XamlPropertyIndex) Methode

Definition

Ruft den Wert einer Rect-Eigenschaft für eine bestimmte IXamlDirect ab.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe Windows App SDK Namespaces).

public:
 Rect GetRectProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
Rect GetRectProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Rect GetRectProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetRectProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Rect

Parameter

xamlDirectObject
Object

Platform::Object

IInspectable

Ein Verweis auf den spezifischen IXamlDirect.

propertyIndex
XamlPropertyIndex

Ein Verweis auf die Rect-Eigenschaft , auf der der Wert aus der Liste der unterstützten Eigenschaften in XamlPropertyIndex-Enumeration abgerufen werden soll.

Gibt zurück

Rect value of the specified property.

Gilt für:

Weitere Informationen