private void CreateDesignData()
 {
     var brightness = new BuyableFilter
     {
         FilterName = "Helligkeit",
         Description = "Ändere die Bild-Helligkeit",
         IsBought = true,
         Price = 0.99m.ToString("C")
     };
     var contrast = new BuyableFilter
     {
         FilterName = "Kontrast",
         Description = "Ändere den Bild-Kontrast",
         IsBought = false,
         Price = 0.99m.ToString("C")
     };
     Filters = new ObservableCollection<BuyableFilter> { brightness, contrast };
 }
Exemple #2
0
        private void CreateDesignData()
        {
            var brightness = new BuyableFilter
            {
                FilterName  = "Helligkeit",
                Description = "Ändere die Bild-Helligkeit",
                IsBought    = true,
                Price       = 0.99m.ToString("C")
            };
            var contrast = new BuyableFilter
            {
                FilterName  = "Kontrast",
                Description = "Ändere den Bild-Kontrast",
                IsBought    = false,
                Price       = 0.99m.ToString("C")
            };

            Filters = new ObservableCollection <BuyableFilter> {
                brightness, contrast
            };
        }