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)
27internal class TextBlockComboBox : ComboBox
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
19internal sealed class ZoomComboBox : ComboBox
5 instantiations of ComboBox
Microsoft.VisualStudio.LanguageServices (1)
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
300var combobox = new ComboBox
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
266var modelPicker = new ComboBox
PresentationFramework (3)
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
501ComboBox comboBox = new ComboBox();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2918DefaultConstructor = delegate () { return new System.Windows.Controls.ComboBox(); },
System\Windows\Markup\KnownTypes.cs (1)
1169case KnownElements.ComboBox: o = new System.Windows.Controls.ComboBox(); break;
181 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)
127public ComboBox AccessListComboBox => _dialog.accessListComboBox; 129public ComboBox KindListComboBox => _dialog.kindListComboBox; 133public ComboBox ProjectListComboBox => _dialog.projectListComboBox; 137public ComboBox AddToExistingFileComboBox => _dialog.AddToExistingFileComboBox; 141public ComboBox CreateNewFileComboBox => _dialog.CreateNewFileComboBox;
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (1)
58public ComboBox NamespaceBox => _dialog.NamespaceBox;
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
300var combobox = new ComboBox
Microsoft.VisualStudio.LanguageServices.CSharp (7)
artifacts\obj\Microsoft.VisualStudio.LanguageServices.CSharp\Release\net472\Options\AdvancedOptionPageControl.g.cs (6)
52internal System.Windows.Controls.ComboBox Run_background_code_analysis_for; 68internal System.Windows.Controls.ComboBox Show_compiler_errors_and_warnings_for; 500internal System.Windows.Controls.ComboBox Editor_color_scheme; 724this.Run_background_code_analysis_for = ((System.Windows.Controls.ComboBox)(target)); 730this.Show_compiler_errors_and_warnings_for = ((System.Windows.Controls.ComboBox)(target)); 904this.Editor_color_scheme = ((System.Windows.Controls.ComboBox)(target));
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
266var modelPicker = new ComboBox
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)
artifacts\obj\Microsoft.VisualStudio.LanguageServices.VisualBasic\Release\net472\Options\AdvancedOptionPageControl.g.vb (6)
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 412Friend WithEvents Editor_color_scheme As System.Windows.Controls.ComboBox 575Me.Run_background_code_analysis_for = CType(target,System.Windows.Controls.ComboBox) 579Me.Show_compiler_errors_and_warnings_for = CType(target,System.Windows.Controls.ComboBox) 789Me.Editor_color_scheme = CType(target,System.Windows.Controls.ComboBox)
PresentationFramework (130)
MS\Internal\Helper.cs (2)
435System.Windows.Controls.ComboBox cb = element as System.Windows.Controls.ComboBox;
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (23)
15public ComboBoxAutomationPeer(ComboBox owner): base(owner) 41ComboBox owner = (ComboBox)Owner; 69ComboBox owner = (ComboBox)Owner; 89ComboBox owner = (ComboBox)Owner; 119ComboBox owner = (ComboBox)Owner; 144ComboBox owner = (ComboBox)Owner; 149owner.SetCurrentValueInternal(ComboBox.TextProperty, val); 157return ((ComboBox)(((ComboBoxAutomationPeer)this).Owner)).Text; 168ComboBox owner = (ComboBox)Owner; 195ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 196owner.SetCurrentValueInternal(ComboBox.IsDropDownOpenProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 209ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 210owner.SetCurrentValueInternal(ComboBox.IsDropDownOpenProperty, MS.Internal.KnownBoxes.BooleanBoxes.FalseBox); 219ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner;
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
43ComboBox parent = ItemsControlAutomationPeer.Owner as ComboBox;
System\Windows\Controls\ComboBox.cs (60)
35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 36KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 37KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 40ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 42DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 43_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ComboBox)); 45IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 47EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); 48EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true); // call us even if the transparent button in the style gets the click. 49EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 50EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(OnPreviewMouseButtonDown)); 51EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseWheelEvent, new MouseWheelEventHandler(OnMouseWheel), true); // call us even if textbox in the style gets the click. 52EventManager.RegisterClassHandler(typeof(ComboBox), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus)); // call us even if textbox in the style get focus 55EventManager.RegisterClassHandler(typeof(ComboBox), ContextMenuService.ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpen), true); 56EventManager.RegisterClassHandler(typeof(ComboBox), ContextMenuService.ContextMenuClosingEvent, new ContextMenuEventHandler(OnContextMenuClose), true); 58IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 59IsMouseOverPropertyKey.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 60IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 82= DependencyProperty.Register("MaxDropDownHeight", typeof(double), typeof(ComboBox), 109typeof(ComboBox), 135typeof(ComboBox), 153ComboBox cb = (ComboBox) d; 166ComboBox cb = (ComboBox) d; 206ComboBox comboBox = (ComboBox)d; 232ComboBox cb = (ComboBox)arg; 255ComboBox cb = (ComboBox)arg; 318typeof(ComboBox), 336ComboBox cb = d as ComboBox; 349typeof(ComboBox), 370TextBox.IsReadOnlyProperty.AddOwner(typeof(ComboBox)); 382DependencyProperty.RegisterReadOnly("SelectionBoxItem", typeof(object), typeof(ComboBox), 404DependencyProperty.RegisterReadOnly("SelectionBoxItemTemplate", typeof(DataTemplate), typeof(ComboBox), 422DependencyProperty.RegisterReadOnly("SelectionBoxItemStringFormat", typeof(String), typeof(ComboBox), 443= DependencyProperty.Register("StaysOpenOnEdit", typeof(bool), typeof(ComboBox), 465DependencyProperty.RegisterReadOnly("IsSelectionBoxHighlighted", typeof(bool), typeof(ComboBox), 485ComboBox comboBox = (ComboBox)o; 607ComboBox cb = (ComboBox)d; 1056ComboBox comboBox = (ComboBox)sender; 1141ComboBox comboBox = (ComboBox)sender; 1180((ComboBox)sender).IsContextMenuOpen = true; 1185((ComboBox)sender).IsContextMenuOpen = false; 1668ComboBox comboBox = (ComboBox)sender; 1705ComboBox comboBox = (ComboBox)sender; 1728ComboBox comboBox = (ComboBox)sender; 1779ComboBox comboBox = (ComboBox)sender;
System\Windows\Controls\ComboBoxItem.cs (7)
97ComboBox parent = ParentComboBox; 112ComboBox parent = ParentComboBox; 127ComboBox parent = ParentComboBox; 154ComboBox parent; 174ComboBox parent = ParentComboBox; 191private ComboBox ParentComboBox 195return ParentSelector as ComboBox;
System\Windows\Controls\DataGridComboBoxColumn.cs (28)
223Style style = new Style(typeof(ComboBox)); 226style.Setters.Add(new Setter(ComboBox.IsSynchronizedWithCurrentItemProperty, false)); 368ComboBox.ItemsSourceProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 385ComboBox.DisplayMemberPathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 400ComboBox.SelectedValuePathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 418ComboBox comboBox = cell.Content as ComboBox; 422ApplyBinding(SelectedItemBinding, comboBox, ComboBox.SelectedItemProperty); 425ApplyBinding(SelectedValueBinding, comboBox, ComboBox.SelectedValueProperty); 428ApplyBinding(TextBinding, comboBox, ComboBox.TextProperty); 431DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.SelectedValuePathProperty, SelectedValuePathProperty); 434DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.DisplayMemberPathProperty, DisplayMemberPathProperty); 437DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.ItemsSourceProperty, ItemsSourceProperty); 461private object GetComboBoxSelectionValue(ComboBox comboBox) 501ComboBox comboBox = new ComboBox(); 511private void ApplyColumnProperties(ComboBox comboBox) 513ApplyBinding(SelectedItemBinding, comboBox, ComboBox.SelectedItemProperty); 514ApplyBinding(SelectedValueBinding, comboBox, ComboBox.SelectedValueProperty); 515ApplyBinding(TextBinding, comboBox, ComboBox.TextProperty); 517DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.SelectedValuePathProperty, SelectedValuePathProperty); 518DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.DisplayMemberPathProperty, DisplayMemberPathProperty); 519DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.ItemsSourceProperty, ItemsSourceProperty); 534ComboBox comboBox = editingElement as ComboBox; 559ComboBox cb = editingElement as ComboBox; 576ComboBox cb = editingElement as ComboBox;
System\Windows\Controls\ToolBar.cs (1)
472else if (feType == typeof(ComboBox))
System\Windows\Data\BindingExpression.cs (1)
2213TargetProperty != ComboBox.TextProperty // ComboBox.Text
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
185case 92: t = () => typeof(ComboBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4536Type type = typeof(System.Windows.Controls.ComboBox); 4538this.GetXamlType(typeof(System.Windows.Controls.ComboBox)), // DeclaringType 4545GetDelegate = delegate (object target) { return ((System.Windows.Controls.ComboBox)target).Items; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2915typeof(System.Windows.Controls.ComboBox),
System\Windows\Markup\KnownTypes.cs (1)
5639case KnownElements.ComboBox: t = typeof(System.Windows.Controls.ComboBox); break;
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
497AddHandler(ComboBox.MouseLeftButtonUpEvent, new RoutedEventHandler(OnMouseLeftButtonUp), true);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
75ComboBox.IsEditableProperty.AddOwner(typeof(RibbonComboBox), 99ComboBox.TextProperty.AddOwner(typeof(RibbonComboBox), 317= ComboBox.StaysOpenOnEditProperty.AddOwner(typeof(RibbonComboBox),
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
427ComboBox.IsDropDownOpenProperty.AddOwner(typeof(RibbonMenuButton),