MediaOverlay.Opacity Property

Definition

Gets the opacity of the overlay.

public:
 property double Opacity { double get(); void set(double value); };
double Opacity();

void Opacity(double value);
public double Opacity { get; set; }
var double = mediaOverlay.opacity;
mediaOverlay.opacity = double;
Public Property Opacity As Double

Property Value

Double

double

The opacity of the overlay, in the range of 0.0 to 1.0, where 0.0 is completely transparent and 1.0 is completely opaque.

Applies to