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 值。

适用于

另请参阅