IXamlDirect.GetRectProperty(Object, XamlPropertyIndex) メソッド

定義

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

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

public:
 Rect GetRectProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
Rect GetRectProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Rect GetRectProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetRectProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Rect

パラメーター

xamlDirectObject
Object

Platform::Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

XamlPropertyIndex 列挙型でサポートされているプロパティの一覧から値を取得する Rect プロパティへの参照。

戻り値

指定したプロパティの値を修正します。

適用対象

こちらもご覧ください