Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
LottieVisualSource Class
Definition
- Namespace:
- Microsoft.Toolkit.Uwp.UI.Lottie
- Assembly:
- Microsoft.Toolkit.Uwp.UI.Lottie.dll
- Package:
- Microsoft.Toolkit.Uwp.UI.Lottie v6.1.0
- Package:
- Microsoft.Toolkit.Uwp.UI.Lottie v7.0.5
- Package:
- Microsoft.Toolkit.Uwp.UI.Lottie v7.1.1
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.
[Windows.Foundation.Metadata.Activatable(0)]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceFactory), 0)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceStatic), 0)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(0)]
public sealed class LottieVisualSource : Windows.UI.Xaml.DependencyObject, Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource, Windows.Foundation.IStringable
[Windows.Foundation.Metadata.Activatable(0)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceStatic), 0)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(0)]
public sealed class LottieVisualSource : Windows.UI.Xaml.DependencyObject, Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource, Windows.Foundation.IStringable
[<Windows.Foundation.Metadata.Activatable(0)>]
[<Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceFactory), 0)>]
[<Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)>]
[<Windows.Foundation.Metadata.Static(typeof(Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceStatic), 0)>]
[<Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)>]
[<Windows.Foundation.Metadata.Version(0)>]
type LottieVisualSource = class
inherit DependencyObject
interface IDynamicAnimatedVisualSource
interface IAnimatedVisualSource
interface IStringable
[<Windows.Foundation.Metadata.Activatable(0)>]
[<Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)>]
[<Windows.Foundation.Metadata.Static(typeof(Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceStatic), 0)>]
[<Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)>]
[<Windows.Foundation.Metadata.Version(0)>]
type LottieVisualSource = class
inherit DependencyObject
interface IDynamicAnimatedVisualSource
interface IAnimatedVisualSource
interface IStringable
Public NotInheritable Class LottieVisualSource
Inherits DependencyObject
Implements IDynamicAnimatedVisualSource, IStringable
- Inheritance
-
Windows.UI.Xaml.DependencyObjectLottieVisualSource
- Attributes
-
Windows.Foundation.Metadata.ActivatableAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.StaticAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute
- Implements
-
Microsoft.UI.Xaml.Controls.IAnimatedVisualSource Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource Windows.Foundation.IStringable
Constructors
| LottieVisualSource() | |
| LottieVisualSource(StorageFile) |
Properties
| Options | |
| OptionsProperty | |
| UriSource | |
| UriSourceProperty |
Methods
| CreateFromString(String) | |
| SetImageAssetHandler(ImageAssetHandler) | |
| SetSourceAsync(IInputStream) | |
| SetSourceAsync(StorageFile) | |
| SetSourceAsync(Uri) | |
| ToString() | |
| TryCreateAnimatedVisual(Compositor, Object) |
Events
| AnimatedVisualInvalidated |
Explicit Interface Implementations
| IStringable.ToString() |
