예제 #1
0
        private void BackgroundComboBoxChanged(object sender, SelectionChangedEventArgs e)
        {
            ComboBox             box  = (ComboBox)sender;
            RevealBackgroundItem item = (RevealBackgroundItem)box.SelectedItem;

            VisualStateManager.GoToState(this, item.Name, false);
        }
예제 #2
0
        public RevealScenarioList()
        {
            this.InitializeComponent();

            listSource           = RevealGridItem.GetItems();
            backgroundTypeSource = RevealBackgroundItem.GetItems();
        }
예제 #3
0
        public RevealScenarioGrid()
        {
            this.InitializeComponent();

            gridSource           = RevealGridItem.GetItems();
            backgroundTypeSource = RevealBackgroundItem.GetItems();
            gridItemTypeSource   = RevealGridTypeItem.GetItems();
            selectionModeSource  = SelectionModeItem.GetItems();
        }