| UIControlOpacity Property |
Gets or sets the opacity.
This is a game object property.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public float Opacity { get; set; }
Public Property Opacity As Single
Get
Set
public:
property float Opacity {
float get ();
void set (float value);
}
member Opacity : float32 with get, set
Property Value
Type:
Single
The opacity. 0 for a fully transparent (invisible) control. 1 for a fully opaque control.
Remarks
If this value is less than 1, the control including its visual children are rendered
transparent.
See Also