Skip to main content
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the Brush value that represents the opacity mask of the Visual.

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

protected internal Brush VisualOpacityMask { get; protected set; }
public protected:
property Brush^ VisualOpacityMask {
	Brush^ get();
	protected: void set(Brush^ value);
}
member VisualOpacityMask : Brush with get, set
Protected Friend Property VisualOpacityMask As Brush
	Get
	Protected Set
End Property

Property Value

Type:

A Brush that represents the opacity mask value of the visual.

The opacity mask is a Brush that is applied to any alpha-channel masking for the rendered content of this visual.

.NET Framework
Available since 3.0
Return to top