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