Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 875 Bytes

visual_opacity.md

File metadata and controls

26 lines (17 loc) · 875 Bytes
-api-id -api-type
P:Microsoft.UI.Composition.Visual.Opacity
winrt property

Microsoft.UI.Composition.Visual.Opacity

-description

The opacity of the visual. Animatable.

The opacity property determines the transparency, if any, of the Visual and is a value from 0 to 1. 0 is fully transparent and 1 is full opaque. A Visual with an Opacity property of 0 is still present in the tree. Like other properties on the Visual, Opacity can be animated using the Windows,UI.Composition animation system.

-property-value

The opacity of the visual.

-remarks

This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.

-examples

-see-also