XamlDirect.GetGridLengthProperty(IXamlDirectObject, XamlPropertyIndex) 方法

定義

取得特定IXamlDirectObjectGridLength屬性值。

public:
 virtual GridLength GetGridLengthProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetGridLengthProperty;
GridLength GetGridLengthProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public GridLength GetGridLengthProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getGridLengthProperty(xamlDirectObject, propertyIndex)
Public Function GetGridLengthProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As GridLength

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

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

傳回

指定之屬性的GridLength值。

適用於

另請參閱