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

要设置为指定属性的粗细值。

适用于

另请参阅