Share via


CompositionMaskBrush.Source Property

Definition

A brush whose content is to be masked by the opacity mask. Can be of type CompositionSurfaceBrush, CompositionColorBrush, or CompositionNineGridBrush.

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

void Source(CompositionBrush value);
public CompositionBrush Source { get; set; }
var compositionBrush = compositionMaskBrush.source;
compositionMaskBrush.source = compositionBrush;
Public Property Source As CompositionBrush

Property Value

A brush whose content is to be masked by the opacity mask. Can be of type CompositionSurfaceBrush, CompositionColorBrush, or CompositionNineGridBrush.

Applies to