Exemplo n.º 1
0
 public void AddTransition(TransitionItemBase transition)
 {
     if (transition is TransitionGroupItem)
     {
         TransitionGroupItem transitionGroup = transition as TransitionGroupItem;
         for (int index = 0; index < transitionGroup.TransitionCount; ++index)
         {
             this.AddTransition(transitionGroup.GetTransitionAt(index));
         }
     }
     else
     {
         Interop.TransitionSet.AddTransition(SwigCPtr, transition.SwigCPtr);
         if (NDalicPINVOKE.SWIGPendingException.Pending)
         {
             throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }
Exemplo n.º 2
0
 internal override TransitionItemBase CreateTransition(View view, bool appearingTransition, TimePeriod timePeriod, AlphaFunction alphaFunction)
 {
     TransitionGroupItem group = new TransitionGroupItem(view, transitionList, UseGroupTimePeriod, StepTransition, UseGroupAlphaFunction, appearingTransition, timePeriod, alphaFunction);
     return group;
 }