共用方式為


XamlDirect.SetThicknessProperty 方法

定義

設定特定IXamlDirectObjectThickness屬性值。

public:
 virtual void SetThicknessProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Thickness value) = SetThicknessProperty;
void SetThicknessProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Thickness const& value);
public void SetThicknessProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Thickness value);
function setThicknessProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetThicknessProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Thickness)

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

Thickness屬性的參考,可從XamlPropertyIndex列舉中支援的屬性清單中設定 的值。

value
Thickness

要設定為指定屬性的粗細值。

適用於

另請參閱