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