Esempio n. 1
0
        private async void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
        {
            Doctors = await DoctorsDataSource.GetDoctors();

            DefaultViewModel["Groups"] = Doctors;
            CollVs = new CollectionViewSource
            {
                Source          = Doctors,
                IsSourceGrouped = true,
                ItemsPath       = new PropertyPath("PatientsList")
            };

            /*
             *
             * <!--<CollectionViewSource
             * x:Name="groupedItemsViewSource"
             * Source="{Binding Groups}"
             * IsSourceGrouped="true"
             * ItemsPath="PatientsList"/>-->
             */
        }