CompositionMaskBrush.Mask Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.