void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Timeline = ((KinectStudioUtility.Timeline2)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.Timeline = ((KinectStudioUtility.Timeline2)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #3
0
        private static void OnSwimLanesSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DebugHelper.AssertUIThread();

            Timeline2 control = d as Timeline2;

            if (d != null)
            {
                control.OnSwimLanesSourceChanged(e.NewValue as IEnumerable);

                control.Nudge();
            }
        }