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