Implemented interface member:
property
IsEnabled
System.Windows.IInputElement.IsEnabled
68 writes to IsEnabled
Microsoft.VisualStudio.LanguageServices.CSharp (22)
Options\AdvancedOptionPageControl.xaml.cs (19)
185
ShowHintsForLiterals.
IsEnabled
= enabledForParameters;
186
ShowHintsForNewExpressions.
IsEnabled
= enabledForParameters;
187
ShowHintsForEverythingElse.
IsEnabled
= enabledForParameters;
188
ShowHintsForIndexers.
IsEnabled
= enabledForParameters;
189
SuppressHintsWhenParameterNameMatchesTheMethodsIntent.
IsEnabled
= enabledForParameters;
190
SuppressHintsWhenParameterNamesDifferOnlyBySuffix.
IsEnabled
= enabledForParameters;
191
SuppressHintsWhenParameterNamesMatchArgumentNames.
IsEnabled
= enabledForParameters;
194
ShowHintsForVariablesWithInferredTypes.
IsEnabled
= enabledForTypes;
195
ShowHintsForLambdaParameterTypes.
IsEnabled
= enabledForTypes;
196
ShowHintsForImplicitObjectCreation.
IsEnabled
= enabledForTypes;
197
ShowHintsForCollectionExpressions.
IsEnabled
= enabledForTypes;
226
Collapse_regions_on_file_open.
IsEnabled
= true;
227
Collapse_usings_on_file_open.
IsEnabled
= true;
228
Collapse_metadata_signature_files_on_open.
IsEnabled
= true;
229
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= true;
234
Collapse_regions_on_file_open.
IsEnabled
= false;
235
Collapse_usings_on_file_open.
IsEnabled
= false;
236
Collapse_metadata_signature_files_on_open.
IsEnabled
= false;
237
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= false;
Options\IntelliSenseOptionPageControl.xaml.cs (3)
23
Show_completion_list_after_a_character_is_deleted.
IsEnabled
= Show_completion_list_after_a_character_is_typed.IsChecked == true;
68
=> Show_completion_list_after_a_character_is_deleted.
IsEnabled
= Show_completion_list_after_a_character_is_typed.IsChecked == true;
72
Show_completion_list_after_a_character_is_deleted.
IsEnabled
= Show_completion_list_after_a_character_is_typed.IsChecked == true;
Microsoft.VisualStudio.LanguageServices.VisualBasic (15)
Options\AdvancedOptionPageControl.xaml.vb (15)
174
ShowHintsForLiterals.
IsEnabled
= enabledForParameters
175
ShowHintsForNewExpressions.
IsEnabled
= enabledForParameters
176
ShowHintsForEverythingElse.
IsEnabled
= enabledForParameters
177
ShowHintsForIndexers.
IsEnabled
= enabledForParameters
178
SuppressHintsWhenParameterNameMatchesTheMethodsIntent.
IsEnabled
= enabledForParameters
179
SuppressHintsWhenParameterNamesDifferOnlyBySuffix.
IsEnabled
= enabledForParameters
180
SuppressHintsWhenParameterNamesMatchArgumentNames.
IsEnabled
= enabledForParameters
194
Collapse_regions_on_file_open.
IsEnabled
= True
195
Collapse_imports_on_file_open.
IsEnabled
= True
196
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= True
197
Collapse_metadata_signature_files_on_open.
IsEnabled
= True
201
Collapse_regions_on_file_open.
IsEnabled
= False
202
Collapse_imports_on_file_open.
IsEnabled
= False
203
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= False
204
Collapse_metadata_signature_files_on_open.
IsEnabled
= False
PresentationFramework (23)
System\Windows\Controls\GridSplitter.cs (1)
394
IsEnabled
= false
System\Windows\Controls\Primitives\CalendarItem.cs (18)
1074
childButton.
IsEnabled
= false;
1079
childButton.
IsEnabled
= true;
1119
childButton.
IsEnabled
= false;
1188
this._headerButton.
IsEnabled
= true;
1202
_nextButton.
IsEnabled
= false;
1209
_nextButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1219
_previousButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1251
childButton.
IsEnabled
= false;
1256
childButton.
IsEnabled
= true;
1267
childButton.
IsEnabled
= false;
1295
childButton.
IsEnabled
= false;
1300
childButton.
IsEnabled
= true;
1314
this._headerButton.
IsEnabled
= true;
1323
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1331
_previousButton.
IsEnabled
= (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1344
this._headerButton.
IsEnabled
= false;
1352
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year > decadeEnd);
1360
_previousButton.
IsEnabled
= (decade > this.Owner.DisplayDateStartInternal.Year);
System\Windows\Controls\Separator.cs (1)
33
container.
IsEnabled
= false;
System\windows\Documents\TextEditorContextMenu.cs (1)
508
IsEnabled
= false
System\Windows\Input\KeyboardNavigation.cs (2)
504
IsEnabled
= false;
528
IsEnabled
= false;
PresentationUI (2)
MS\Internal\Documents\FindToolBar.xaml.cs (2)
261
FindNextButton.
IsEnabled
= FindEnabled;
266
FindPreviousButton.
IsEnabled
= FindEnabled;
Roslyn.VisualStudio.DiagnosticsWindow (4)
Panels\TelemetryPanel.xaml.cs (2)
138
control.
IsEnabled
= false;
139
return new RAII(() => control.
IsEnabled
= true);
Panels\WorkspacePanel.xaml.cs (2)
39
DiagnoseButton.
IsEnabled
= false;
57
DiagnoseButton.
IsEnabled
= true;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
96
_keyTipControl.
IsEnabled
= (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
115
adapter.
IsEnabled
= (bool)value;
156 references to IsEnabled
PresentationCore (16)
MS\Internal\Automation\ElementUtil.cs (1)
169
if( el != null && ! el.
IsEnabled
)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
345
return _owner.
IsEnabled
;
System\Windows\Input\AccessKeyManager.cs (1)
241
if (!target.
IsEnabled
)
System\Windows\Input\MouseDevice.cs (2)
309
if(e.IsVisible && e.
IsEnabled
)
750
if (!element.
IsEnabled
)
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
663
return element.
IsEnabled
&& element.IsVisible && element.IsHitTestVisible;
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (2)
256
if (_element.IsArrangeValid && _element.
IsEnabled
&& _element.IsVisible && _element.IsHitTestVisible)
564
System.Diagnostics.Debug.Assert(_element.
IsEnabled
== (bool)e.NewValue);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
562
if ((e?.IsVisible ?? false) || (e?.
IsEnabled
?? false))
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
56
if (element.IsVisible && element.
IsEnabled
&& element.IsHitTestVisible)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
257
if (e.IsVisible || e.
IsEnabled
)
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
66
if (element.IsVisible && element.
IsEnabled
&& element.IsHitTestVisible)
System\Windows\Input\TouchDevice.cs (2)
338
(((uiElement != null) && uiElement.IsVisible && uiElement.
IsEnabled
) ||
523
killCapture = !uiElement.
IsEnabled
|| !uiElement.IsVisible || !uiElement.IsHitTestVisible;
System\Windows\UIElement.cs (2)
2072
if (element.
IsEnabled
)
2599
if (Focusable &&
IsEnabled
)
PresentationFramework (36)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
146
if (!owner.
IsEnabled
)
169
return !owner.
IsEnabled
|| owner.IsReadOnly;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
790
if (!OwningDataGrid.
IsEnabled
)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
820
else if (owningButton != null && owningButton.
IsEnabled
)
System\Windows\Controls\Button.cs (1)
195
if (!IsDefault || focus == null || !
IsEnabled
)
System\Windows\Controls\ComboBox.cs (1)
980
if (!
IsEnabled
)
System\Windows\Controls\DataGrid.cs (4)
3451
if (dataGrid.IsReadOnly || !dataGrid.
IsEnabled
)
4302
e.CanExecute = (dataGrid.SelectionMode == DataGridSelectionMode.Extended) && dataGrid.
IsEnabled
;
6322
if (!
IsEnabled
)
8563
if (!
IsEnabled
)
System\Windows\Controls\DatePicker.cs (2)
318
if (!dp.
IsEnabled
)
757
if (!
IsEnabled
)
System\Windows\Controls\Expander.cs (1)
207
if (!
IsEnabled
)
System\Windows\Controls\InkCanvas.cs (2)
2707
if ( inkCanvas.
IsEnabled
&& !inkCanvas.EditingCoordinator.UserIsEditing )
2780
if ( inkCanvas.
IsEnabled
System\Windows\Controls\ListBoxItem.cs (1)
183
if (!
IsEnabled
)
System\Windows\Controls\PasswordBox.cs (1)
405
if (!
IsEnabled
)
System\Windows\Controls\PopupControlService.cs (1)
1159
enabled = uie.
IsEnabled
;
System\Windows\Controls\Primitives\ButtonBase.cs (1)
777
if (!
IsEnabled
)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
241
if (!
IsEnabled
)
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
103
if (
IsEnabled
)
System\Windows\Controls\Primitives\RangeBase.cs (1)
327
if (!
IsEnabled
)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
966
if (!
IsEnabled
)
System\Windows\Controls\Primitives\Thumb.cs (1)
173
if (!
IsEnabled
)
System\Windows\Controls\TabControl.cs (2)
288
if (!
IsEnabled
)
452
if (tabItem != null && tabItem.
IsEnabled
&& tabItem.Visibility == Visibility.Visible)
System\Windows\Controls\TabItem.cs (1)
219
if (!
IsEnabled
)
System\Windows\Controls\TextBox.cs (1)
980
&& textBox.
IsEnabled
System\Windows\Controls\TreeViewItem.cs (3)
536
if (!e.Handled &&
IsEnabled
)
653
return CanExpand &&
IsEnabled
;
1075
if (!
IsEnabled
)
System\windows\Documents\TextEditor.cs (1)
1299
return _uiScope == null ? false : _uiScope.
IsEnabled
;
System\windows\Documents\TextEditorMouse.cs (1)
688
if (uiElement != null && uiElement.
IsEnabled
)
System\windows\Documents\TextSelection.cs (1)
318
if (uiScope.
IsEnabled
&& this.TextView != null)
System\Windows\Input\KeyboardNavigation.cs (2)
1907
&& fe.
IsEnabled
1924
return (uie.Focusable && uie.
IsEnabled
&& uie.IsVisible);
PresentationFramework.Aero (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
868
IsEnabled
;
1864
if (!
IsEnabled
)
2106
if (!
IsEnabled
)
2163
if (!
IsEnabled
)
2235
if (!
IsEnabled
)
2328
if (!
IsEnabled
)
2365
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
488
if (!
IsEnabled
&& !RoundCorners)
608
if (
IsEnabled
&& pen != null)
632
if (
IsEnabled
&& pen != null)
646
if (!
IsEnabled
&& !RoundCorners)
681
IsEnabled
;
771
if (!
IsEnabled
)
885
if (!
IsEnabled
)
994
if (!
IsEnabled
)
1063
if (!
IsEnabled
)
1127
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
403
IsEnabled
;
626
if (!
IsEnabled
)
642
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1016
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1035
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1186
else if (
IsEnabled
||
1262
if (
IsEnabled
||
1337
if (
IsEnabled
||
1720
else if (
IsEnabled
)
PresentationFramework.Aero2 (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
868
IsEnabled
;
1864
if (!
IsEnabled
)
2106
if (!
IsEnabled
)
2163
if (!
IsEnabled
)
2235
if (!
IsEnabled
)
2328
if (!
IsEnabled
)
2365
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
488
if (!
IsEnabled
&& !RoundCorners)
608
if (
IsEnabled
&& pen != null)
632
if (
IsEnabled
&& pen != null)
646
if (!
IsEnabled
&& !RoundCorners)
681
IsEnabled
;
771
if (!
IsEnabled
)
885
if (!
IsEnabled
)
994
if (!
IsEnabled
)
1063
if (!
IsEnabled
)
1127
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
403
IsEnabled
;
626
if (!
IsEnabled
)
642
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1016
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1035
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1186
else if (
IsEnabled
||
1262
if (
IsEnabled
||
1337
if (
IsEnabled
||
1720
else if (
IsEnabled
)
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (1)
485
if (
IsEnabled
)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
44
bool isClickable = IsClickable &&
IsEnabled
;
PresentationFramework.Luna (20)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
621
if (!
IsEnabled
)
730
if (!
IsEnabled
)
941
if (!
IsEnabled
|| RenderPressed)
1086
if (!
IsEnabled
)
1188
if (!
IsEnabled
|| RenderPressed)
1233
if (!
IsEnabled
)
1274
if (!
IsEnabled
)
1463
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
76
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1326
if (!
IsEnabled
)
1666
if (!
IsEnabled
)
1894
if (!
IsEnabled
)
2056
if (!
IsEnabled
)
2358
if (!
IsEnabled
)
2505
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
655
if (!
IsEnabled
)
762
if (!
IsEnabled
)
892
if (!
IsEnabled
)
952
if (!
IsEnabled
)
966
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
487
if (!
IsEnabled
)
589
if (!
IsEnabled
)
667
if (!
IsEnabled
|| RenderPressed)
744
if (!
IsEnabled
)
785
if (!
IsEnabled
|| RenderPressed)
825
if (!
IsEnabled
)
894
if (!
IsEnabled
)
947
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
32
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
815
if (!
IsEnabled
)
931
if (!
IsEnabled
)
1003
if (!
IsEnabled
)
1097
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
655
if (!
IsEnabled
)
762
if (!
IsEnabled
)
892
if (!
IsEnabled
)
952
if (!
IsEnabled
)
966
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (2)
107
return !OwningComboBox.
IsEnabled
;
114
if (!owner.
IsEnabled
)
Microsoft\Windows\Automation\Peers\RibbonTextBoxAutomationPeer.cs (1)
139
if (!rtb.
IsEnabled
)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (2)
398
auxiliaryPaneHost.
IsEnabled
&&
414
footerPaneHost.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2487
container.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1506
this.
IsEnabled
&&
1530
this.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
505
return tab.
IsEnabled
;