IXamlDirect.SetXamlDirectObjectProperty Metodo

Definizione

Imposta il valore di una proprietà IXamlDirect per uno specifico IXamlDirect.

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).

public:
 void SetXamlDirectObjectProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Platform::Object ^ value);
void SetXamlDirectObjectProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, IInspectable const& value);
public void SetXamlDirectObjectProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, object value);
Public Sub SetXamlDirectObjectProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As Object)

Parametri

xamlDirectObject
Object

Platform::Object

IInspectable

Riferimento all'IXamlDirect specifico.

propertyIndex
XamlPropertyIndex

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

value
Object

Platform::Object

IInspectable

Valore IXamlDirect da impostare sulla proprietà specificata.

Si applica a

Vedi anche