Edit

Share via


XamlCompositionBrush.Bind Method

Definition

Overloads

Bind<T>(EffectAnimation<T>, XamlEffectAnimation<T>)

Binds an EffectAnimation<T> to the composition brush in the current instance

Bind<T>(EffectSetter<T>, XamlEffectSetter<T>)

Binds an EffectSetter<T> to the composition brush in the current instance

Bind<T>(EffectAnimation<T>, XamlEffectAnimation<T>)

Binds an EffectAnimation<T> to the composition brush in the current instance

public Microsoft.Toolkit.Uwp.UI.Media.XamlCompositionBrush Bind<T> (Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectAnimation<T> animation, out Microsoft.Toolkit.Uwp.UI.Media.XamlEffectAnimation<T> bound) where T : struct;
member this.Bind : Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectAnimation<'T (requires 'T : struct)> * XamlEffectAnimation -> Microsoft.Toolkit.Uwp.UI.Media.XamlCompositionBrush (requires 'T : struct)
Public Function Bind(Of T As Structure) (animation As EffectAnimation(Of T), ByRef bound As XamlEffectAnimation(Of T)) As XamlCompositionBrush

Type Parameters

T

The type of property value to animate

Parameters

animation
EffectAnimation<T>

The input animation

bound
XamlEffectAnimation<T>

The resulting animation

Returns

The current XamlCompositionBrush instance

Applies to

Bind<T>(EffectSetter<T>, XamlEffectSetter<T>)

Binds an EffectSetter<T> to the composition brush in the current instance

public Microsoft.Toolkit.Uwp.UI.Media.XamlCompositionBrush Bind<T> (Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectSetter<T> setter, out Microsoft.Toolkit.Uwp.UI.Media.XamlEffectSetter<T> bound) where T : struct;
member this.Bind : Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectSetter<'T (requires 'T : struct)> * XamlEffectSetter -> Microsoft.Toolkit.Uwp.UI.Media.XamlCompositionBrush (requires 'T : struct)
Public Function Bind(Of T As Structure) (setter As EffectSetter(Of T), ByRef bound As XamlEffectSetter(Of T)) As XamlCompositionBrush

Type Parameters

T

The type of property value to set

Parameters

setter
EffectSetter<T>

The input setter

bound
XamlEffectSetter<T>

The resulting setter

Returns

The current XamlCompositionBrush instance

Applies to