XamlDirect.SetEnumProperty 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 const& propertyIndex, uint32_t const& 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

unsigned int

uint32_t

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

Applies to

See also