TransitionSelector Class
Selects a transition for use with a TransitionPresenter control.
public abstract class TransitionSelector : DependencyObject
- Inheritance:
- object object
Constructors
TransitionSelector()
Initializes an instance of the class.
protected TransitionSelector()
Methods
SelectTransition(TransitionPresenter, object, object)
When overridden in a derived class, returns a Transition based on custom logic.
public virtual 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.