IAnimatedVisualSource Interfaz

Definición

Objeto visual animado que otros objetos pueden usar, como animatedVisualPlayer.

public interface class IAnimatedVisualSource
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Guid(692544963, 28899, 21852, 150, 87, 1, 252, 64, 81, 22, 157)]
/// [Windows.Foundation.Metadata.Version(1)]
struct IAnimatedVisualSource
/// [Windows.Foundation.Metadata.Guid(692544963, 28899, 21852, 150, 87, 1, 252, 64, 81, 22, 157)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
struct IAnimatedVisualSource
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Guid(692544963, 28899, 21852, 150, 87, 1, 252, 64, 81, 22, 157)]
[Windows.Foundation.Metadata.Version(1)]
public interface IAnimatedVisualSource
[Windows.Foundation.Metadata.Guid(692544963, 28899, 21852, 150, 87, 1, 252, 64, 81, 22, 157)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public interface IAnimatedVisualSource
Public Interface IAnimatedVisualSource
Derivado
Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute GuidAttribute VersionAttribute ContractVersionAttribute

Comentarios

Llame al método IAnimatedVisualSource.TryCreateAnimatedVisual(Compositor, Object) para recuperar un objeto IAnimatedVisual . A IAnimatedVisual continuación, se puede usar para obtener un composition.Visual, que se puede agregar a un árbol de elementos XAML mediante los métodos de ElementCompositionPreview.

Métodos

TryCreateAnimatedVisual(Compositor, Object)

Intenta crear un objeto visual animado.

Se aplica a