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

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

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

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