SpriteVisual.Brush Property

Definition

A CompositionBrush describing how the SpriteVisual is painted.

public:
 property CompositionBrush ^ Brush { CompositionBrush ^ get(); void set(CompositionBrush ^ value); };
CompositionBrush Brush();

void Brush(CompositionBrush value);
public CompositionBrush Brush { get; set; }
var compositionBrush = spriteVisual.brush;
spriteVisual.brush = compositionBrush;
Public Property Brush As CompositionBrush

Property Value

A CompositionBrush describing how the SpriteVisual is painted.

Applies to