Share via


CompositionMaskBrush.Mask Property

Definition

A brush that contains the opacity mask with which the Source brush's content is to be masked. Can be of type CompositionSurfaceBrush or CompositionNineGridBrush.

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

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

Property Value

A brush that contains the opacity mask with which the Source brush's content is to be masked. Can be of type CompositionSurfaceBrush or CompositionNineGridBrush.

Applies to