Прочетете на английски

Споделяне чрез


ISelfPlayingAnimatedVisual 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.

C#
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Guid(4135422116, 17900, 21717, 185, 240, 124, 124, 204, 55, 251, 131)]
[Windows.Foundation.Metadata.Version(1)]
public interface ISelfPlayingAnimatedVisual : IAnimatedVisual, System.IDisposable
C#
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Guid(4135422116, 17900, 21717, 185, 240, 124, 124, 204, 55, 251, 131)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public interface ISelfPlayingAnimatedVisual : IAnimatedVisual, System.IDisposable
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ExperimentalAttribute 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).

(Inherited from IAnimatedVisual)
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).

(Inherited from IAnimatedVisual)
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).

(Inherited from IAnimatedVisual)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Pause()
PlayAsync(Double, Double, Boolean)
Resume()
SetPlaybackRate(Double)
SetProgress(Double)
SetProgressObject(CompositionPropertySet)
SetSize(Size)
Stop()

Applies to

Продукт Версии
WinUI 2 2.5-prerelease, 2.6-prerelease, 2.7-prerelease, 2.8-prerelease