IXamlDirect.SetRectProperty(Object, XamlPropertyIndex, Rect) メソッド

定義

特定の IXamlDirectRect プロパティの値を設定します。

このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

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)

パラメーター

xamlDirectObject
Object

Platform::Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

XamlPropertyIndex 列挙型でサポートされているプロパティの値を設定する Rect プロパティへの参照。

value
Rect

指定したプロパティに設定する Rect 値。

適用対象

こちらもご覧ください