CompositionAnimation.SetColorParameter(String, Color) CompositionAnimation.SetColorParameter(String, Color) CompositionAnimation.SetColorParameter(String, Color) CompositionAnimation.SetColorParameter(String, Color) CompositionAnimation.SetColorParameter(String, Color) Method

Definition

Sets a Color value parameter for use with an ExpressionAnimation or an expression keyframe.

public : void SetColorParameter(Platform::String key, Color value)
void SetColorParameter(winrt::hstring key, Color value) const;
public void SetColorParameter(String key, Color value)
Public Sub SetColorParameter(key As String, value As Color)
compositionAnimation.setColorParameter(key, value);

Parameters

key
String String String

The name of the parameter to set.

value
Color Color Color

The Color value.

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)