Example #1
0
        public AddSongs(TransportViewModel tvm)
        {
            InitializeComponent();

            this.tvm            = tvm;
            this.BindingContext = this.tvm;

            SelectedTracks.ItemsSource = tvm.Playlist;

            ppd = new BusyBarViewModel();
            BusyBar.BindingContext = ppd;

            Projects.ItemsSource = LoadedTracks;

            if (DesignMode.IsDesignModeEnabled)
            {
                ppd.BusyText = "Something here";
            }
        }
Example #2
0
        public ProjectPicker()
        {
            InitializeComponent();

            CloudProivder.BindingContext   = this;
            PathBreadCrumbs.BindingContext = this;
            FolderList.BindingContext      = this;
            AddButton.BindingContext       = this;

            CloudProivder.ItemsSource = ProviderList;

            CurrentFolder          = PersistentData.LastFolder;
            ProviderNameText       = PersistentData.LastCloud;
            FolderList.ItemsSource = DirectoryList;

            //MixLocationList = PersistentData.MixLocationList;

            ppd = new BusyBarViewModel();
            busyControl.BindingContext = ppd;
        }