Exemple #1
0
        private void ComboBox_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
        {
            ComboBox           box  = (ComboBox)sender;
            RevealGridTypeItem item = (RevealGridTypeItem)box.SelectedItem;

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

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