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; }
public DesignTabControl() { InitializeComponent(); DataContext = new DesignTabControlViewModel(); DesignTabControlViewModel.ThemeDesign = themes; }