public AutoFilterRow()
        {
            InitializeComponent();
            grid.ItemsSource = OutlookDataGenerator.CreateOutlookDataTable(1000);
            ComboBoxEditSettings settings = new ComboBoxEditSettings()
            {
                IsTextEditable = false
            };

            ComboBoxEdit.SetupComboBoxSettingsEnumItemSource <Priority>(settings);
            colPriority.EditSettings = settings;
        }
예제 #2
0
        public CellEditors()
        {
            InitializeComponent();
            ComboBoxEditSettings settings = new ComboBoxEditSettings()
            {
                IsTextEditable = false
            };

            ComboBoxEdit.SetupComboBoxSettingsEnumItemSource <Priority>(settings);
            colPriority.EditSettings = settings;
            grid.ItemsSource         = OutlookDataGenerator.CreateOutlookDataTable(1000);
            booleanColumnEditorListBox.EditValueChanged  += new EditValueChangedEventHandler(booleanColumnEditorListBox_EditValueChanged);
            editorButtonShowModeListBox.EditValueChanged += new EditValueChangedEventHandler(editorButtonShowModeListBox_EditValueChanged);
            viewsListBox.EditValueChanged += new EditValueChangedEventHandler(viewsListBox_SelectionChanged);
            alternativeDisplayTemplateCheckBox.IsChecked = true;
            alternativeEditTemplateCheckBox.IsChecked    = true;
            editorShowModeCombobox.EditValueChanged     += new EditValueChangedEventHandler(editorShowModeCombobox_EditValueChanged);
        }