XamlDirect.SetDurationProperty(IXamlDirectObject, XamlPropertyIndex, Duration) XamlDirect.SetDurationProperty(IXamlDirectObject, XamlPropertyIndex, Duration) XamlDirect.SetDurationProperty(IXamlDirectObject, XamlPropertyIndex, Duration) XamlDirect.SetDurationProperty(IXamlDirectObject, XamlPropertyIndex, Duration) Method

Definition

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

public : void SetDurationProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Duration value)
void SetDurationProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Duration value) const;
public void SetDurationProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Duration value)
Public Sub SetDurationProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Duration)

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

value
Duration Duration

Duration value to set to the specified property.

See also