-api-id | -api-type |
---|---|
P:Microsoft.UI.Composition.Visual.Opacity |
winrt property |
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.
The opacity of the visual.
This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.