Compositor.CreateColorBrush Compositor.CreateColorBrush Compositor.CreateColorBrush Compositor.CreateColorBrush Method

Definition

Overloads

CreateColorBrush() CreateColorBrush() CreateColorBrush() CreateColorBrush()

Creates an instance of CompositionColorBrush.

CreateColorBrush(Color) CreateColorBrush(Color) CreateColorBrush(Color) CreateColorBrush(Color)

Creates an instance of CompositionColorBrush using the specified color.

CreateColorBrush() CreateColorBrush() CreateColorBrush() CreateColorBrush()

Creates an instance of CompositionColorBrush.

public : CompositionColorBrush CreateColorBrush()
CompositionColorBrush CreateColorBrush() const;
public CompositionColorBrush CreateColorBrush()
Public Function CreateColorBrush() As CompositionColorBrush

Returns

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
See also

CreateColorBrush(Color) CreateColorBrush(Color) CreateColorBrush(Color) CreateColorBrush(Color)

Creates an instance of CompositionColorBrush using the specified color.

public : CompositionColorBrush CreateColorBrush(Color color)
CompositionColorBrush CreateColorBrush(Color color) const;
public CompositionColorBrush CreateColorBrush(Color color)
Public Function CreateColorBrush(color As Color) As CompositionColorBrush

Parameters

color
Color Color

The color for the brush to use.

Returns

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
See also