Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / Opacity Property


In This Topic
    Opacity Property
    In This Topic
    Gets or sets the opacity level of the SmartControl or SmartItem on subsequent calls to the Draw methods.
    Syntax
    'Declaration
     
    Public Property Opacity As Double
    'Usage
     
    Dim instance As SmartPaint
    Dim value As Double
     
    instance.Opacity = value
     
    value = instance.Opacity
    public double Opacity {get; set;}

    Property Value

    A value between 0 and 1 representing the level of opacity for the SmartControl or SmartItem. If 0 the item will be completely transparent. If 1, the item will be completely opaque.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also