SystemTray.SetOpacity Method
Namespace: Microsoft.Phone.Shell
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Shared Sub SetOpacity ( _
element As DependencyObject, _
opacity As Double _
)
public static void SetOpacity(
DependencyObject element,
double opacity
)
public:
static void SetOpacity(
DependencyObject^ element,
double opacity
)
static member SetOpacity :
element:DependencyObject *
opacity:float -> unit
Parameters
- element
Type: System.Windows.DependencyObject
- opacity
Type: System.Double
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.