Share via


XamlDirect.GetGridLengthProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

Gets the value of a GridLength property for a specific IXamlDirectObject.

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

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

A reference to the GridLength property to get the value of from the list of supported properties in XamlPropertyIndex enum.

Returns

GridLength value of the specified property.

Applies to

See also