Edit

Share via


VisualExtensions.SetOpacity(DependencyObject, Double) Method

Definition

Sets the Windows.UI.Composition.Visual.Opacity of a UIElement

public static void SetOpacity (Windows.UI.Xaml.DependencyObject obj, double value);
static member SetOpacity : Windows.UI.Xaml.DependencyObject * double -> unit
Public Sub SetOpacity (obj As DependencyObject, value As Double)

Parameters

obj
Windows.UI.Xaml.DependencyObject

The Windows.UI.Xaml.UIElement

value
Double

The opacity to be set between 0.0 and 1.0

Applies to