IXamlDirect.SetThicknessProperty(Object, XamlPropertyIndex, Thickness) メソッド

定義

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

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

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

パラメーター

xamlDirectObject
Object

Platform::Object

IInspectable

特定の IXamlDirect への参照。

propertyIndex
XamlPropertyIndex

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

value
Thickness

指定したプロパティに設定する太さの値。

適用対象

こちらもご覧ください