示例#1
0
        public HeaderAndFootersWindow()
        {
            InitializeComponent();
            SlideBase slide = (Application.Current as IAppGlobal).SelectedSlide;

            txtFooter.Text          = DesignTabControlViewModel.GetFooterSlide(slide);
            cbDateTime.IsChecked    = slide.IsDate;
            cbFooter.IsChecked      = slide.IsFooter;
            cbSlideNumber.IsChecked = slide.IsSlideNumber;
        }
示例#2
0
 public DesignTabControl()
 {
     InitializeComponent();
     DataContext = new DesignTabControlViewModel();
     DesignTabControlViewModel.ThemeDesign = themes;
 }