4 types derived from ComboBox
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.g.cs (1)
40internal partial class SmartRenameUserInputComboBox : System.Windows.Controls.ComboBox, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (1)
18internal sealed partial class SmartRenameUserInputComboBox : ComboBox, IRenameUserInput
PresentationFramework (1)
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
32internal class TextBlockComboBox : ComboBox
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
26internal sealed class ZoomComboBox : ComboBox
4 instantiations of ComboBox
Microsoft.VisualStudio.LanguageServices (1)
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
301var combobox = new ComboBox
PresentationFramework (3)
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
507ComboBox comboBox = new ComboBox();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2780bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ComboBox(); };
System\Windows\Markup\KnownTypes.cs (1)
1176case KnownElements.ComboBox: o = new System.Windows.Controls.ComboBox(); break;
184 references to ComboBox
Microsoft.VisualStudio.LanguageServices (33)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\Analyzers\View\SeverityControl.g.cs (2)
52internal System.Windows.Controls.ComboBox SeverityComboBox; 92this.SeverityComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\CodeStyle\View\CodeStyleSeverityControl.g.cs (2)
52internal System.Windows.Controls.ComboBox SeverityComboBox; 92this.SeverityComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\CodeStyle\View\CodeStyleValueControl.g.cs (2)
52internal System.Windows.Controls.ComboBox ValueComboBox; 92this.ValueComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\Common\EnumPropertyView.g.cs (2)
52internal System.Windows.Controls.ComboBox EnumValueComboBox; 92this.EnumValueComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesSeverityControl.g.cs (2)
52internal System.Windows.Controls.ComboBox SeverityComboBox; 92this.SeverityComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesStyleControl.g.cs (2)
52internal System.Windows.Controls.ComboBox StyleComboBox; 92this.StyleComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\GenerateType\GenerateTypeDialog.g.cs (10)
76internal System.Windows.Controls.ComboBox accessListComboBox; 84internal System.Windows.Controls.ComboBox kindListComboBox; 116internal System.Windows.Controls.ComboBox projectListComboBox; 132internal System.Windows.Controls.ComboBox CreateNewFileComboBox; 148internal System.Windows.Controls.ComboBox AddToExistingFileComboBox; 213this.accessListComboBox = ((System.Windows.Controls.ComboBox)(target)); 216this.kindListComboBox = ((System.Windows.Controls.ComboBox)(target)); 228this.projectListComboBox = ((System.Windows.Controls.ComboBox)(target)); 234this.CreateNewFileComboBox = ((System.Windows.Controls.ComboBox)(target)); 246this.AddToExistingFileComboBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveStaticMembers\MoveStaticMembersDialog.g.cs (2)
62internal System.Windows.Controls.ComboBox DestinationBox; 161this.DestinationBox = ((System.Windows.Controls.ComboBox)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveToNamespace\MoveToNamespaceDialog.g.cs (2)
69internal System.Windows.Controls.ComboBox NamespaceBox; 147this.NamespaceBox = ((System.Windows.Controls.ComboBox)(target));
GenerateType\GenerateTypeDialog.xaml.cs (5)
128public ComboBox AccessListComboBox => _dialog.accessListComboBox; 130public ComboBox KindListComboBox => _dialog.kindListComboBox; 134public ComboBox ProjectListComboBox => _dialog.projectListComboBox; 138public ComboBox AddToExistingFileComboBox => _dialog.AddToExistingFileComboBox; 142public ComboBox CreateNewFileComboBox => _dialog.CreateNewFileComboBox;
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (1)
59public ComboBox NamespaceBox => _dialog.NamespaceBox;
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
301var combobox = new ComboBox
Microsoft.VisualStudio.LanguageServices.CSharp (8)
artifacts\obj\Microsoft.VisualStudio.LanguageServices.CSharp\Release\net472\Options\AdvancedOptionPageControl.g.cs (8)
52internal System.Windows.Controls.ComboBox Run_background_code_analysis_for; 68internal System.Windows.Controls.ComboBox Show_compiler_errors_and_warnings_for; 212internal System.Windows.Controls.ComboBox Rename_UI_setting; 556internal System.Windows.Controls.ComboBox Editor_color_scheme; 812this.Run_background_code_analysis_for = ((System.Windows.Controls.ComboBox)(target)); 818this.Show_compiler_errors_and_warnings_for = ((System.Windows.Controls.ComboBox)(target)); 872this.Rename_UI_setting = ((System.Windows.Controls.ComboBox)(target)); 1013this.Editor_color_scheme = ((System.Windows.Controls.ComboBox)(target));
Microsoft.VisualStudio.LanguageServices.VisualBasic (8)
artifacts\obj\Microsoft.VisualStudio.LanguageServices.VisualBasic\Release\net472\Options\AdvancedOptionPageControl.g.vb (8)
55Friend WithEvents Run_background_code_analysis_for As System.Windows.Controls.ComboBox 62Friend WithEvents Show_compiler_errors_and_warnings_for As System.Windows.Controls.ComboBox 167Friend WithEvents Rename_UI_setting As System.Windows.Controls.ComboBox 461Friend WithEvents Editor_color_scheme As System.Windows.Controls.ComboBox 645Me.Run_background_code_analysis_for = CType(target,System.Windows.Controls.ComboBox) 649Me.Show_compiler_errors_and_warnings_for = CType(target,System.Windows.Controls.ComboBox) 709Me.Rename_UI_setting = CType(target,System.Windows.Controls.ComboBox) 887Me.Editor_color_scheme = CType(target,System.Windows.Controls.ComboBox)
PresentationFramework (130)
MS\Internal\Helper.cs (2)
445System.Windows.Controls.ComboBox cb = element as System.Windows.Controls.ComboBox;
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (23)
28public ComboBoxAutomationPeer(ComboBox owner): base(owner) 54ComboBox owner = (ComboBox)Owner; 82ComboBox owner = (ComboBox)Owner; 102ComboBox owner = (ComboBox)Owner; 132ComboBox owner = (ComboBox)Owner; 157ComboBox owner = (ComboBox)Owner; 162owner.SetCurrentValueInternal(ComboBox.TextProperty, val); 170return ((ComboBox)(((ComboBoxAutomationPeer)this).Owner)).Text; 181ComboBox owner = (ComboBox)Owner; 208ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 209owner.SetCurrentValueInternal(ComboBox.IsDropDownOpenProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 222ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 223owner.SetCurrentValueInternal(ComboBox.IsDropDownOpenProperty, MS.Internal.KnownBoxes.BooleanBoxes.FalseBox); 232ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner;
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
57ComboBox parent = ItemsControlAutomationPeer.Owner as ComboBox;
System\Windows\Controls\ComboBox.cs (60)
46KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 47KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 51ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 53DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 54_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ComboBox)); 56IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 58EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); 59EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true); // call us even if the transparent button in the style gets the click. 60EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 61EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(OnPreviewMouseButtonDown)); 62EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseWheelEvent, new MouseWheelEventHandler(OnMouseWheel), true); // call us even if textbox in the style gets the click. 63EventManager.RegisterClassHandler(typeof(ComboBox), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus)); // call us even if textbox in the style get focus 66EventManager.RegisterClassHandler(typeof(ComboBox), ContextMenuService.ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpen), true); 67EventManager.RegisterClassHandler(typeof(ComboBox), ContextMenuService.ContextMenuClosingEvent, new ContextMenuEventHandler(OnContextMenuClose), true); 69IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 70IsMouseOverPropertyKey.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 71IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 93= DependencyProperty.Register("MaxDropDownHeight", typeof(double), typeof(ComboBox), 120typeof(ComboBox), 146typeof(ComboBox), 164ComboBox cb = (ComboBox) d; 177ComboBox cb = (ComboBox) d; 217ComboBox comboBox = (ComboBox)d; 246ComboBox cb = (ComboBox)arg; 272ComboBox cb = (ComboBox)arg; 335typeof(ComboBox), 353ComboBox cb = d as ComboBox; 366typeof(ComboBox), 387TextBox.IsReadOnlyProperty.AddOwner(typeof(ComboBox)); 399DependencyProperty.RegisterReadOnly("SelectionBoxItem", typeof(object), typeof(ComboBox), 421DependencyProperty.RegisterReadOnly("SelectionBoxItemTemplate", typeof(DataTemplate), typeof(ComboBox), 439DependencyProperty.RegisterReadOnly("SelectionBoxItemStringFormat", typeof(String), typeof(ComboBox), 460= DependencyProperty.Register("StaysOpenOnEdit", typeof(bool), typeof(ComboBox), 482DependencyProperty.RegisterReadOnly("IsSelectionBoxHighlighted", typeof(bool), typeof(ComboBox), 502ComboBox comboBox = (ComboBox)o; 625ComboBox cb = (ComboBox)d; 1071ComboBox comboBox = (ComboBox)sender; 1156ComboBox comboBox = (ComboBox)sender; 1195((ComboBox)sender).IsContextMenuOpen = true; 1200((ComboBox)sender).IsContextMenuOpen = false; 1681ComboBox comboBox = (ComboBox)sender; 1718ComboBox comboBox = (ComboBox)sender; 1741ComboBox comboBox = (ComboBox)sender; 1792ComboBox comboBox = (ComboBox)sender;
System\Windows\Controls\ComboBoxItem.cs (7)
109ComboBox parent = ParentComboBox; 127ComboBox parent = ParentComboBox; 145ComboBox parent = ParentComboBox; 175ComboBox parent; 195ComboBox parent = ParentComboBox; 215private ComboBox ParentComboBox 219return ParentSelector as ComboBox;
System\Windows\Controls\DataGridComboBoxColumn.cs (28)
228Style style = new Style(typeof(ComboBox)); 231style.Setters.Add(new Setter(ComboBox.IsSynchronizedWithCurrentItemProperty, false)); 373ComboBox.ItemsSourceProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 390ComboBox.DisplayMemberPathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 405ComboBox.SelectedValuePathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 424ComboBox comboBox = cell.Content as ComboBox; 428ApplyBinding(SelectedItemBinding, comboBox, ComboBox.SelectedItemProperty); 431ApplyBinding(SelectedValueBinding, comboBox, ComboBox.SelectedValueProperty); 434ApplyBinding(TextBinding, comboBox, ComboBox.TextProperty); 437DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.SelectedValuePathProperty, SelectedValuePathProperty); 440DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.DisplayMemberPathProperty, DisplayMemberPathProperty); 443DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.ItemsSourceProperty, ItemsSourceProperty); 467private object GetComboBoxSelectionValue(ComboBox comboBox) 507ComboBox comboBox = new ComboBox(); 517private void ApplyColumnProperties(ComboBox comboBox) 519ApplyBinding(SelectedItemBinding, comboBox, ComboBox.SelectedItemProperty); 520ApplyBinding(SelectedValueBinding, comboBox, ComboBox.SelectedValueProperty); 521ApplyBinding(TextBinding, comboBox, ComboBox.TextProperty); 523DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.SelectedValuePathProperty, SelectedValuePathProperty); 524DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.DisplayMemberPathProperty, DisplayMemberPathProperty); 525DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.ItemsSourceProperty, ItemsSourceProperty); 540ComboBox comboBox = editingElement as ComboBox; 565ComboBox cb = editingElement as ComboBox; 582ComboBox cb = editingElement as ComboBox;
System\Windows\Controls\ToolBar.cs (1)
488else if (feType == typeof(ComboBox))
System\Windows\Data\BindingExpression.cs (1)
2262TargetProperty != ComboBox.TextProperty // ComboBox.Text
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
188case 92: t = () => typeof(ComboBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4301Type type = typeof(System.Windows.Controls.ComboBox); 4303this.GetXamlType(typeof(System.Windows.Controls.ComboBox)), // DeclaringType 4309bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ComboBox)target).Items; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2778typeof(System.Windows.Controls.ComboBox),
System\Windows\Markup\KnownTypes.cs (1)
5646case KnownElements.ComboBox: t = typeof(System.Windows.Controls.ComboBox); break;
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
510AddHandler(ComboBox.MouseLeftButtonUpEvent, new RoutedEventHandler(OnMouseLeftButtonUp), true);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
78ComboBox.IsEditableProperty.AddOwner(typeof(RibbonComboBox), 102ComboBox.TextProperty.AddOwner(typeof(RibbonComboBox), 321= ComboBox.StaysOpenOnEditProperty.AddOwner(typeof(RibbonComboBox),
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
431ComboBox.IsDropDownOpenProperty.AddOwner(typeof(RibbonMenuButton),