예제 #1
0
 public SvgDemoViewModel()
 {
     Width        = 150;
     Height       = 150;
     IconStretch  = Stretch.Uniform;
     Icons        = SvgDemoIconViewModel.CreateDefaultIconSet(false);
     SelectedIcon = Icons[0];
 }
예제 #2
0
 public SvgThemingViewModel()
 {
     Icons = SvgDemoIconViewModel.CreateDefaultIconSet(true);
     IconsWithCustomPalette = SvgDemoIconViewModel.CreateDefaultIconSet(true);
     DefaultPalettes        = CreateDefaultPalettes();
     CustomPalettes         = CreateDefaultPalettes();
     SelectedDefaultPalette = DefaultPalettes[0];
     SelectedCustomPalette  = CustomPalettes[0];
 }