共用方式為


AnimationManager Class

Definition

This class is responsible for controlling the animations in .NET MAUI.

public ref class AnimationManager : IDisposable, Microsoft::Maui::Animations::IAnimationManager
public class AnimationManager : IDisposable, Microsoft.Maui.Animations.IAnimationManager
type AnimationManager = class
    interface IAnimationManager
    interface IDisposable
Public Class AnimationManager
Implements IAnimationManager, IDisposable
Inheritance
AnimationManager
Implements

Constructors

AnimationManager(ITicker)

Instantiate a new AnimationManager object.

Properties

AutoStartTicker

Specifies whether or not to automatically start the animation ticker for this manager.

SpeedModifier

Specifies a factor with which the animations for this manager should be multiplied.

Ticker

The ticker that is used by this manager to time the animations.

Methods

Add(Animation)

Adds the given animation to this manager.

Dispose()

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

Dispose(Boolean)
Remove(Animation)

Removes the given animation from this manager.

Extension Methods

Add(IAnimationManager, Action<Double>)
Insert(IAnimationManager, Func<Int64,Boolean>)
Remove(IAnimationManager, Int32)

Applies to