XamlDirect.SetColorProperty Método

Definición

Establece el valor de una propiedad Color para un IXamlDirectObject específico.

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)

Parámetros

xamlDirectObject
IXamlDirectObject

Referencia al IXamlDirectObject específico.

propertyIndex
XamlPropertyIndex

Referencia a la propiedad Color para establecer el valor de de la lista de propiedades admitidas en la enumeración XamlPropertyIndex .

value
Color

Valor de color que se va a establecer en la propiedad especificada.

Se aplica a

Consulte también