XamlDirect.SetDurationProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of a Duration property for a specific IXamlDirectObject.
void SetDurationProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Duration const& value);
public void SetDurationProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Duration value);
function setDurationProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetDurationProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Duration)
Parameters
- xamlDirectObject
- IXamlDirectObject
A reference to the specific IXamlDirectObject.
- propertyIndex
- XamlPropertyIndex
A reference to the Duration property to set the value of from the list of supported properties in XamlPropertyIndex enum.
- value
- Duration
Duration value to set to the specified property.