TransitionSelector Class
Selects a transition for use with a TransitionPresenter control.
public abstract class TransitionSelector : DependencyObject
- Inheritance:
- Object DispatcherObject DependencyObject Object
Constructors
TransitionSelector()
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.