Compositor.CreateLinearGradientBrush Compositor.CreateLinearGradientBrush Compositor.CreateLinearGradientBrush Compositor.CreateLinearGradientBrush Method

Definition

Creates an instance of CompositionLinearGradientBrush.

public : CompositionLinearGradientBrush CreateLinearGradientBrush()
CompositionLinearGradientBrush CreateLinearGradientBrush() const;
public CompositionLinearGradientBrush CreateLinearGradientBrush()
Public Function CreateLinearGradientBrush() As CompositionLinearGradientBrush

Returns

The created CompositionLinearGradientBrush object.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)