IXamlDirect.GetDurationProperty(Object, XamlPropertyIndex) Methode

Definition

Ruft den Wert einer Duration-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).

Duration GetDurationProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Duration GetDurationProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetDurationProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Duration

Parameter

xamlDirectObject
Object

IInspectable

Ein Verweis auf den spezifischen IXamlDirect.

propertyIndex
XamlPropertyIndex

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

Gibt zurück

Dauerwert der angegebenen Eigenschaft.

Gilt für:

Weitere Informationen