XamlDirect.GetCornerRadiusProperty 方法

定義

取得特定IXamlDirectObjectCornerRadius屬性值。

public:
 virtual CornerRadius GetCornerRadiusProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetCornerRadiusProperty;
CornerRadius GetCornerRadiusProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public CornerRadius GetCornerRadiusProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getCornerRadiusProperty(xamlDirectObject, propertyIndex)
Public Function GetCornerRadiusProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As CornerRadius

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

CornerRadius屬性的參考,可從XamlPropertyIndex列舉中支援的屬性清單中取得 的值。

傳回

指定屬性的CornerRadius值。

適用於

另請參閱