Exemple #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.Carousels = ((AduSkin.Controls.Metro.Carousel)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        private static void OnAutoPlayChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Carousel carousel = d as Carousel;

            carousel.autoPlayTimer.Enabled = (bool)e.NewValue;
        }