MultiTransitionSelector Class
Selects a transition from a list of possible values for use with a TransitionPresenter control.
public class MultiTransitionSelector : TransitionSelector
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject TransitionSelector Object
Constructors
MultiTransitionSelector()
public MultiTransitionSelector()
Properties
Transitions
Gets the collection of Transition objects from which to select.
public ObservableCollection<Transition> Transitions { get; }
Property Value
- System.Collections.ObjectModel.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 | System.Object | The element from which a transition is occurring. |
| toContent | System.Object | The element to which a transition is occurring. |
Returns
- Transition:
Returns an application-specific Transition to apply; otherwise, null.
Inherited Members
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()