XamlDirect.SetColorProperty Method

Definition

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

public:
 virtual void SetColorProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Color value) = SetColorProperty;
void SetColorProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Color const& value);
public void SetColorProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Color value);
function setColorProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetColorProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Color)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
Color

Color value to set to the specified property.

Applies to

See also