IXamlDirect.SetDurationProperty(Object, XamlPropertyIndex, Duration) Metodo

Definizione

Imposta il valore di una proprietà Duration per un IXamlDirect specifico.

Questa documentazione si applica a WinUI 2 per UWP (per WinUI nella SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

void SetDurationProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Duration const& value);
public void SetDurationProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, Duration value);
Public Sub SetDurationProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As Duration)

Parametri

xamlDirectObject
Object

IInspectable

Riferimento all'IXamlDirect specifico.

propertyIndex
XamlPropertyIndex

Riferimento alla proprietà Duration in cui impostare il valore dall'elenco delle proprietà supportate in XamlPropertyIndex enumerazione.

value
Duration

Valore di durata da impostare sulla proprietà specificata.

Si applica a

Vedi anche