Freigeben über


UIFocusAnimationCoordinator.AddCoordinatedUnfocusingAnimationsAsync Methode

Definition

Fügt der koordinierten Animation die bereitgestellte animations hinzu und führt einen Vervollständigungshandler aus, wenn die Hauptanimationen abgeschlossen sind.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task AddCoordinatedUnfocusingAnimationsAsync (Action<UIKit.IUIFocusAnimationContext> animations);
abstract member AddCoordinatedUnfocusingAnimationsAsync : Action<UIKit.IUIFocusAnimationContext> -> System.Threading.Tasks.Task
override this.AddCoordinatedUnfocusingAnimationsAsync : Action<UIKit.IUIFocusAnimationContext> -> System.Threading.Tasks.Task

Parameter

animations
Action<IUIFocusAnimationContext>

Die auszuführenden Animationen. Dieser Parameter kann sein.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang AddCoordinatedUnfocusingAnimations darstellt

Attribute

Hinweise

Die AddCoordinatedUnfocusingAnimationsAsync-Methode eignet sich für die Verwendung mit C#-async, indem das Steuerelement an den Aufrufer zurückgegeben wird, wobei ein Task den Vorgang darstellt.

Muss hinzugefügt werden.

Gilt für: