Example #1
0
        private void DummyData2()
        {
            var rightList = new List <VeresiyeModel>();

            var model1 = new VeresiyeModel()
            {
                Name        = "Bakkal Ali",
                TotalAmount = "26",
                Date        = "01.11.2016",
                BgColor     = "#f1f1f1"
            };
            var model2 = new VeresiyeModel()
            {
                Name        = "Bakkal Erdal",
                TotalAmount = "102",
                Date        = "09.10.2016",
                BgColor     = "#ffffff"
            };
            var model3 = new VeresiyeModel()
            {
                Name        = "Bakkal Osman",
                TotalAmount = "150",
                Date        = "14.10.2016",
                BgColor     = "#f1f1f1"
            };

            rightList.Add(model1);
            rightList.Add(model2);
            rightList.Add(model3);

            list2.ItemsSource = rightList;
        }
Example #2
0
        private void DummyData1()
        {
            var leftList = new List <VeresiyeModel>();

            var model1 = new VeresiyeModel()
            {
                Name        = "Bizim Bakkal",
                TotalAmount = "8,5",
                Date        = "06.11.2016",
                BgColor     = "#f1f1f1"
            };
            var model2 = new VeresiyeModel()
            {
                Name        = "Bakkal Veli",
                TotalAmount = "26",
                Date        = "14.11.2016",
                BgColor     = "#ffffff"
            };
            var model3 = new VeresiyeModel()
            {
                Name        = "Bakkal Derya",
                TotalAmount = "45",
                Date        = "12.11.2016",
                BgColor     = "#f1f1f1"
            };

            leftList.Add(model1);
            leftList.Add(model2);
            leftList.Add(model3);

            list1.ItemsSource = leftList;
        }