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)
28internal class TextBlockComboBox : ComboBox
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
24internal 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)
502ComboBox comboBox = new ComboBox();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2778bamlType.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)
129public ComboBox AccessListComboBox => _dialog.accessListComboBox; 131public ComboBox KindListComboBox => _dialog.kindListComboBox; 135public ComboBox ProjectListComboBox => _dialog.projectListComboBox; 139public ComboBox AddToExistingFileComboBox => _dialog.AddToExistingFileComboBox; 143public ComboBox CreateNewFileComboBox => _dialog.CreateNewFileComboBox;
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (1)
60public 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; 564internal System.Windows.Controls.ComboBox Editor_color_scheme; 796this.Run_background_code_analysis_for = ((System.Windows.Controls.ComboBox)(target)); 802this.Show_compiler_errors_and_warnings_for = ((System.Windows.Controls.ComboBox)(target)); 868this.Rename_UI_setting = ((System.Windows.Controls.ComboBox)(target)); 1012this.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 468Friend WithEvents Editor_color_scheme As System.Windows.Controls.ComboBox 638Me.Run_background_code_analysis_for = CType(target,System.Windows.Controls.ComboBox) 642Me.Show_compiler_errors_and_warnings_for = CType(target,System.Windows.Controls.ComboBox) 712Me.Rename_UI_setting = CType(target,System.Windows.Controls.ComboBox) 894Me.Editor_color_scheme = CType(target,System.Windows.Controls.ComboBox)
PresentationFramework (130)
MS\Internal\Helper.cs (2)
436System.Windows.Controls.ComboBox cb = element as System.Windows.Controls.ComboBox;
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (23)
16public ComboBoxAutomationPeer(ComboBox owner): base(owner) 42ComboBox owner = (ComboBox)Owner; 70ComboBox owner = (ComboBox)Owner; 90ComboBox owner = (ComboBox)Owner; 120ComboBox owner = (ComboBox)Owner; 145ComboBox owner = (ComboBox)Owner; 150owner.SetCurrentValueInternal(ComboBox.TextProperty, val); 158return ((ComboBox)(((ComboBoxAutomationPeer)this).Owner)).Text; 169ComboBox owner = (ComboBox)Owner; 196ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 197owner.SetCurrentValueInternal(ComboBox.IsDropDownOpenProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 210ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 211owner.SetCurrentValueInternal(ComboBox.IsDropDownOpenProperty, MS.Internal.KnownBoxes.BooleanBoxes.FalseBox); 220ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner;
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
44ComboBox parent = ItemsControlAutomationPeer.Owner as ComboBox;
System\Windows\Controls\ComboBox.cs (60)
36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 41ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 43DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 44_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ComboBox)); 46IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 48EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); 49EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true); // call us even if the transparent button in the style gets the click. 50EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove)); 51EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(OnPreviewMouseButtonDown)); 52EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.MouseWheelEvent, new MouseWheelEventHandler(OnMouseWheel), true); // call us even if textbox in the style gets the click. 53EventManager.RegisterClassHandler(typeof(ComboBox), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus)); // call us even if textbox in the style get focus 56EventManager.RegisterClassHandler(typeof(ComboBox), ContextMenuService.ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpen), true); 57EventManager.RegisterClassHandler(typeof(ComboBox), ContextMenuService.ContextMenuClosingEvent, new ContextMenuEventHandler(OnContextMenuClose), true); 59IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 60IsMouseOverPropertyKey.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 61IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 83= DependencyProperty.Register("MaxDropDownHeight", typeof(double), typeof(ComboBox), 110typeof(ComboBox), 136typeof(ComboBox), 154ComboBox cb = (ComboBox) d; 167ComboBox cb = (ComboBox) d; 207ComboBox comboBox = (ComboBox)d; 236ComboBox cb = (ComboBox)arg; 262ComboBox cb = (ComboBox)arg; 325typeof(ComboBox), 343ComboBox cb = d as ComboBox; 356typeof(ComboBox), 377TextBox.IsReadOnlyProperty.AddOwner(typeof(ComboBox)); 389DependencyProperty.RegisterReadOnly("SelectionBoxItem", typeof(object), typeof(ComboBox), 411DependencyProperty.RegisterReadOnly("SelectionBoxItemTemplate", typeof(DataTemplate), typeof(ComboBox), 429DependencyProperty.RegisterReadOnly("SelectionBoxItemStringFormat", typeof(String), typeof(ComboBox), 450= DependencyProperty.Register("StaysOpenOnEdit", typeof(bool), typeof(ComboBox), 472DependencyProperty.RegisterReadOnly("IsSelectionBoxHighlighted", typeof(bool), typeof(ComboBox), 492ComboBox comboBox = (ComboBox)o; 615ComboBox cb = (ComboBox)d; 1061ComboBox comboBox = (ComboBox)sender; 1146ComboBox comboBox = (ComboBox)sender; 1185((ComboBox)sender).IsContextMenuOpen = true; 1190((ComboBox)sender).IsContextMenuOpen = false; 1671ComboBox comboBox = (ComboBox)sender; 1708ComboBox comboBox = (ComboBox)sender; 1731ComboBox comboBox = (ComboBox)sender; 1782ComboBox comboBox = (ComboBox)sender;
System\Windows\Controls\ComboBoxItem.cs (7)
98ComboBox parent = ParentComboBox; 116ComboBox parent = ParentComboBox; 134ComboBox parent = ParentComboBox; 164ComboBox parent; 184ComboBox parent = ParentComboBox; 204private ComboBox ParentComboBox 208return ParentSelector as ComboBox;
System\Windows\Controls\DataGridComboBoxColumn.cs (28)
224Style style = new Style(typeof(ComboBox)); 227style.Setters.Add(new Setter(ComboBox.IsSynchronizedWithCurrentItemProperty, false)); 369ComboBox.ItemsSourceProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 386ComboBox.DisplayMemberPathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 401ComboBox.SelectedValuePathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 419ComboBox comboBox = cell.Content as ComboBox; 423ApplyBinding(SelectedItemBinding, comboBox, ComboBox.SelectedItemProperty); 426ApplyBinding(SelectedValueBinding, comboBox, ComboBox.SelectedValueProperty); 429ApplyBinding(TextBinding, comboBox, ComboBox.TextProperty); 432DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.SelectedValuePathProperty, SelectedValuePathProperty); 435DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.DisplayMemberPathProperty, DisplayMemberPathProperty); 438DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.ItemsSourceProperty, ItemsSourceProperty); 462private object GetComboBoxSelectionValue(ComboBox comboBox) 502ComboBox comboBox = new ComboBox(); 512private void ApplyColumnProperties(ComboBox comboBox) 514ApplyBinding(SelectedItemBinding, comboBox, ComboBox.SelectedItemProperty); 515ApplyBinding(SelectedValueBinding, comboBox, ComboBox.SelectedValueProperty); 516ApplyBinding(TextBinding, comboBox, ComboBox.TextProperty); 518DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.SelectedValuePathProperty, SelectedValuePathProperty); 519DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.DisplayMemberPathProperty, DisplayMemberPathProperty); 520DataGridHelper.SyncColumnProperty(this, comboBox, ComboBox.ItemsSourceProperty, ItemsSourceProperty); 535ComboBox comboBox = editingElement as ComboBox; 560ComboBox cb = editingElement as ComboBox; 577ComboBox cb = editingElement as ComboBox;
System\Windows\Controls\ToolBar.cs (1)
479else if (feType == typeof(ComboBox))
System\Windows\Data\BindingExpression.cs (1)
2253TargetProperty != ComboBox.TextProperty // ComboBox.Text
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
186case 92: t = () => typeof(ComboBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4299Type type = typeof(System.Windows.Controls.ComboBox); 4301this.GetXamlType(typeof(System.Windows.Controls.ComboBox)), // DeclaringType 4307bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ComboBox)target).Items; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2776typeof(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)
508AddHandler(ComboBox.MouseLeftButtonUpEvent, new RoutedEventHandler(OnMouseLeftButtonUp), true);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
76ComboBox.IsEditableProperty.AddOwner(typeof(RibbonComboBox), 100ComboBox.TextProperty.AddOwner(typeof(RibbonComboBox), 319= ComboBox.StaysOpenOnEditProperty.AddOwner(typeof(RibbonComboBox),
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
428ComboBox.IsDropDownOpenProperty.AddOwner(typeof(RibbonMenuButton),