ContainerVisual.OpacityMask Property

 

Gets or sets a brush that specifies a possible opacity mask for the ContainerVisual.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Public Property OpacityMask As Brush

Property Value

Type: System.Windows.Media.Brush

A value of type Brush that represents the opacity mask value of the ContainerVisual.

Opacity masks can be used to create effects such as vignettes, based on the alpha channel values of the brush.

.NET Framework
Available since 3.0
Return to top
Show: