/// <summary> /// Creates a new /// <see cref="T:Microsoft.Phone.Controls.ITransition"/> /// for a /// <see cref="T:System.Windows.UIElement"/>. /// Saves and clears the existing /// <see cref="F:System.Windows.UIElement.ProjectionProperty"/> /// value before the start of the transition, then restores it after it is stopped or completed. /// </summary> /// <param name="element">The <see cref="T:System.Windows.UIElement"/>.</param> /// <returns>The <see cref="T:Microsoft.Phone.Controls.ITransition"/>.</returns> public override ITransition GetTransition(UIElement element) { return(Transitions.TurnstileFeather(element, Mode, BeginTime)); }
/// <summary> /// Creates a new /// <see cref="T:Microsoft.Phone.Controls.ITransition"/> /// for a /// <see cref="T:System.Windows.UIElement"/>. /// Saves and clears the existing /// <see cref="F:System.Windows.UIElement.RenderTransformProperty"/> /// value before the start of the transition, then restores it after it is stopped or completed. /// </summary> /// <param name="element">The <see cref="T:System.Windows.UIElement"/>.</param> /// <returns>The <see cref="T:Microsoft.Phone.Controls.ITransition"/>.</returns> public override ITransition GetTransition(UIElement element) { return(Transitions.Rotate(element, Mode)); }
/// <summary> /// Creates a new /// <see cref="T:Microsoft.Phone.Controls.ITransition"/> /// for a /// <see cref="T:System.Windows.UIElement"/>. /// </summary> /// <param name="element">The <see cref="T:System.Windows.UIElement"/>.</param> /// <returns>The <see cref="T:Microsoft.Phone.Controls.ITransition"/>.</returns> public override ITransition GetTransition(UIElement element) { return(Transitions.Roll(element)); }