CompositionEffectFactory.CreateBrush Method

Definition

Creates an instance of CompositionEffectBrush with the effect definition and animatable properties contained in the CompositionEffectFactory object.

Equivalent WinUI method: Microsoft.UI.Composition.CompositionEffectFactory.CreateBrush.

public:
 virtual CompositionEffectBrush ^ CreateBrush() = CreateBrush;
CompositionEffectBrush CreateBrush();
public CompositionEffectBrush CreateBrush();
function createBrush()
Public Function CreateBrush () As CompositionEffectBrush

Returns

CompositionEffectBrush

Returns the created CompositionEffectBrush object.

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to