CompositionAnimation.SetBooleanParameter(String, Boolean) Method

Definition

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

Equivalent WinUI method: Microsoft.UI.Composition.CompositionAnimation.SetBooleanParameter.

public:
 virtual void SetBooleanParameter(Platform::String ^ key, bool value) = SetBooleanParameter;
void SetBooleanParameter(winrt::hstring const & key, bool value);
public void SetBooleanParameter(string key, bool value);
function setBooleanParameter(key, value)
Public Sub SetBooleanParameter (key As String, value As Boolean)

Parameters

key
String

The name of the parameter to set.

value
Boolean

The boolean value.

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to