Share via


Opacity Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the degree of opacity of the brush's paint or fill.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Property Opacity As UShort
public ushort Opacity { get; set; }
public:
property unsigned short Opacity {
    unsigned short get ();
    void set (unsigned short value);
}
member Opacity : uint16 with get, set
function get Opacity () : ushort
function set Opacity (value : ushort)

Property Value

Type: System. . :: . .UInt16
A value from 0 to 256 that represents the opacity.

Remarks

A value of 0 (zero) indicates that the paint or fill is transparent (that is, 0-percent opaque). A value of 256 indicates that the paint or fill is completely opaque.

.NET Framework Security

See Also

Reference

Brush Class

Microsoft.SPOT.Presentation.Media Namespace