Table of Contents

Class TransitionCompletedEventArgs

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Represents the event arguments for TransitionCompletedEvent.

public class TransitionCompletedEventArgs : RoutedEventArgs
Inheritance
TransitionCompletedEventArgs
Inherited Members

Constructors

TransitionCompletedEventArgs(object?, object?, bool)

Initializes a new instance of TransitionCompletedEventArgs.

public TransitionCompletedEventArgs(object? from, object? to, bool hasRunToCompletion)

Parameters

from object

The content that was transitioned from.

to object

The content that was transitioned to.

hasRunToCompletion bool

Whether the transition ran to completion.

Properties

From

Gets the content that was transitioned from.

public object? From { get; }

Property Value

object

HasRunToCompletion

Gets whether the transition ran to completion. If false, the transition may have completed instantly or been cancelled.

public bool HasRunToCompletion { get; }

Property Value

bool

To

Gets the content that was transitioned to.

public object? To { get; }

Property Value

object