In This Article

MultiTransitionSelector Class

Selects a transition from a list of possible values for use with a TransitionPresenter control.

public class MultiTransitionSelector : TransitionSelector
Inheritance:
object TransitionSelector object

Constructors

MultiTransitionSelector()

Initializes an instance of the class.

public MultiTransitionSelector()

Properties

Transitions

Gets the collection of Transition objects from which to select.

public ObservableCollection<Transition> Transitions { get; }

Property Value

ObservableCollection<Transition>:

The collection of Transition objects from which to select.

Methods

SelectTransition(TransitionPresenter, object, object)

When overridden in a derived class, returns a Transition based on custom logic.

public override Transition SelectTransition(TransitionPresenter presenter, object fromContent, object toContent)
Parameter Type Description
presenter TransitionPresenter

The TransitionPresenter that is managing the transition.

fromContent object

The element from which a transition is occurring.

toContent object

The element to which a transition is occurring.

Returns

Transition:

Returns an application-specific Transition to apply; otherwise, null.