XamlDirect.SetEnumProperty(IXamlDirectObject, XamlPropertyIndex, UInt32) Method

Definition

Sets the value of an Enum property for a specific IXamlDirectObject.

public:
 virtual void SetEnumProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, unsigned int value) = SetEnumProperty;
void SetEnumProperty(IXamlDirectObject const & xamlDirectObject, XamlPropertyIndex propertyIndex, unsigned int value);
public void SetEnumProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, uint value);
function setEnumProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetEnumProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As UInteger)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
UInt32

Cast the desired Enum value to a UInt32 to set to the specified property.

Applies to

See also