XamlDirect.GetSizeProperty(IXamlDirectObject, XamlPropertyIndex) 方法

定義

取得特定IXamlDirectObject的 Size屬性值。

public:
 virtual Size GetSizeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetSizeProperty;
Size GetSizeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Size GetSizeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getSizeProperty(xamlDirectObject, propertyIndex)
Public Function GetSizeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Size

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

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

傳回

指定屬性的大小值。

適用於

另請參閱