XamlDirect.SetColorProperty(IXamlDirectObject, XamlPropertyIndex, Color) XamlDirect.SetColorProperty(IXamlDirectObject, XamlPropertyIndex, Color) XamlDirect.SetColorProperty(IXamlDirectObject, XamlPropertyIndex, Color) XamlDirect.SetColorProperty(IXamlDirectObject, XamlPropertyIndex, Color) Method

Definition

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

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

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

value
Color Color

Color value to set to the specified property.

See also