IXamlDirect.SetRectProperty(Object, XamlPropertyIndex, Rect) Metodo

Definizione

Imposta il valore di una proprietà Rect 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 SetRectProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value);
void SetRectProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Rect const& value);
public void SetRectProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value);
Public Sub SetRectProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As Rect)

Parametri

xamlDirectObject
Object

Platform::Object

IInspectable

Riferimento all'oggetto IXamlDirect specifico.

propertyIndex
XamlPropertyIndex

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

value
Rect

Valore Rect da impostare sulla proprietà specificata.

Si applica a

Vedi anche