EffectSetter<T> Delegate

Definition

A delegate that represents a custom effect property setter that can be applied to a Windows.UI.Composition.CompositionBrush

public delegate void EffectSetter<in T>(CompositionBrush brush, T value) where T : struct;
type EffectSetter<'T (requires 'T : struct)> = delegate of CompositionBrush * 'T -> unit
Public Delegate Sub EffectSetter(Of In T)(brush As CompositionBrush, value As T)

Type Parameters

T

The type of property value to set

This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

Parameters

brush
Windows.UI.Composition.CompositionBrush

The target Windows.UI.Composition.CompositionBrush instance to target

value
T

The property value to set

Applies to