Share via


XamlDirect.SetGridLengthProperty Method

Definition

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

public:
 virtual void SetGridLengthProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, GridLength value) = SetGridLengthProperty;
void SetGridLengthProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, GridLength const& value);
public void SetGridLengthProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, GridLength value);
function setGridLengthProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetGridLengthProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As GridLength)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
GridLength

GridLength value to set to the specified property.

Applies to

See also