XamlDirect.GetColorProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

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

public:
 virtual Color GetColorProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetColorProperty;
Color GetColorProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Color GetColorProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getColorProperty(xamlDirectObject, propertyIndex)
Public Function GetColorProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Color

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

Returns

Color value of the specified property.

Applies to

See also