Share via


XamlCompositionBrushBase.FallbackColor Property

Definition

The color to use for rendering in case the CompositionBrush can't be rendered.

public:
 property Color FallbackColor { Color get(); void set(Color value); };
Color FallbackColor();

void FallbackColor(Color value);
public Color FallbackColor { get; set; }
var color = xamlCompositionBrushBase.fallbackColor;
xamlCompositionBrushBase.fallbackColor = color;
Public Property FallbackColor As Color

Property Value

The color to use for rendering in place of the composition brush.

Remarks

Some cases where the CompositionBrush can't be rendered include:

  • in the Visual Studio visual designer
  • when printing
  • in software rendering mode

Applies to