Edit

Share via


LottieVisualSource Class

Definition

[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.DependencyObject
LottieVisualSource
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()

Applies to