XamlDirect.GetThicknessProperty(IXamlDirectObject, XamlPropertyIndex) 方法

定义

获取特定 IXamlDirectObjectThickness 属性的值。

public:
 virtual Thickness GetThicknessProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetThicknessProperty;
Thickness GetThicknessProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Thickness GetThicknessProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getThicknessProperty(xamlDirectObject, propertyIndex)
Public Function GetThicknessProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Thickness

参数

xamlDirectObject
IXamlDirectObject

对特定 IXamlDirectObject 的引用。

propertyIndex
XamlPropertyIndex

Thickness 属性的引用,用于从 XamlPropertyIndex 枚举中支持的属性列表中获取 的值。

返回

指定属性的粗细值。

适用于

另请参阅