共用方式為


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

XamlPropertyIndex列舉中支援屬性清單取得 的粗細屬性參考。

傳回

指定屬性的粗細值。

適用於

另請參閱