IAnimatedVisual Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An animated Composition.Visual that can be used by other objects, such as an AnimatedVisualPlayer or AnimatedIcon.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public interface class IAnimatedVisual : IClosable
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Guid(2215643417, 40469, 20742, 150, 71, 150, 84, 237, 227, 53, 222)]
/// [Windows.Foundation.Metadata.Version(1)]
struct IAnimatedVisual : IClosable
/// [Windows.Foundation.Metadata.Guid(2215643417, 40469, 20742, 150, 71, 150, 84, 237, 227, 53, 222)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
struct IAnimatedVisual : IClosable
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Guid(2215643417, 40469, 20742, 150, 71, 150, 84, 237, 227, 53, 222)]
[Windows.Foundation.Metadata.Version(1)]
public interface IAnimatedVisual : System.IDisposable
[Windows.Foundation.Metadata.Guid(2215643417, 40469, 20742, 150, 71, 150, 84, 237, 227, 53, 222)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public interface IAnimatedVisual : System.IDisposable
Public Interface IAnimatedVisual
Implements IDisposable
- Derived
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute GuidAttribute VersionAttribute ContractVersionAttribute
- Implements
Properties
Duration |
Gets the duration of the animated visual. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
RootVisual |
Gets the root Visual of the animated visual. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
Size |
Gets the size of the animated visual. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |