示例#1
0
        private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ComboBox          box  = (ComboBox)sender;
            SelectionModeItem item = (SelectionModeItem)box.SelectedItem;

            RevealGrid.SelectionMode = item.Mode;
        }
示例#2
0
        public RevealScenarioGrid()
        {
            this.InitializeComponent();

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