IXamlDirect.SetSizeProperty(Object, XamlPropertyIndex, Size) Metodo

Definizione

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

Questa documentazione si applica a WinUI 2 per la piattaforma UWP (per WinUI nel SDK per app di Windows, vedi gli spazi dei nomi SDK per app di Windows).

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

Parametri

xamlDirectObject
Object

Riferimento all'oggetto IXamlDirect specifico.

propertyIndex
XamlPropertyIndex

Riferimento alla proprietà Size in cui impostare il valore dalle proprietà supportate nell'enumerazione XamlPropertyIndex .

value
Size

Valore Size da impostare sulla proprietà specificata.

Si applica a

Vedi anche