Implemented interface member:
property
IsEnabled
System.Windows.IInputElement.IsEnabled
74 writes to IsEnabled
Microsoft.VisualStudio.LanguageServices.CSharp (25)
Options\AdvancedOptionPageControl.xaml.cs (22)
232
Editor_color_scheme.
IsEnabled
= isSupportedTheme;
244
ShowHintsForLiterals.
IsEnabled
= enabledForParameters;
245
ShowHintsForNewExpressions.
IsEnabled
= enabledForParameters;
246
ShowHintsForEverythingElse.
IsEnabled
= enabledForParameters;
247
ShowHintsForIndexers.
IsEnabled
= enabledForParameters;
248
SuppressHintsWhenParameterNameMatchesTheMethodsIntent.
IsEnabled
= enabledForParameters;
249
SuppressHintsWhenParameterNamesDifferOnlyBySuffix.
IsEnabled
= enabledForParameters;
250
SuppressHintsWhenParameterNamesMatchArgumentNames.
IsEnabled
= enabledForParameters;
253
ShowHintsForVariablesWithInferredTypes.
IsEnabled
= enabledForTypes;
254
ShowHintsForLambdaParameterTypes.
IsEnabled
= enabledForTypes;
255
ShowHintsForImplicitObjectCreation.
IsEnabled
= enabledForTypes;
256
ShowHintsForCollectionExpressions.
IsEnabled
= enabledForTypes;
285
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= true;
290
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= false;
295
Collapse_regions_on_file_open.
IsEnabled
= true;
296
Collapse_usings_on_file_open.
IsEnabled
= true;
297
Collapse_metadata_signature_files_on_open.
IsEnabled
= true;
298
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= true;
303
Collapse_regions_on_file_open.
IsEnabled
= false;
304
Collapse_usings_on_file_open.
IsEnabled
= false;
305
Collapse_metadata_signature_files_on_open.
IsEnabled
= false;
306
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 (18)
Options\AdvancedOptionPageControl.xaml.vb (18)
222
Editor_color_scheme.
IsEnabled
= isSupportedTheme
233
ShowHintsForLiterals.
IsEnabled
= enabledForParameters
234
ShowHintsForNewExpressions.
IsEnabled
= enabledForParameters
235
ShowHintsForEverythingElse.
IsEnabled
= enabledForParameters
236
ShowHintsForIndexers.
IsEnabled
= enabledForParameters
237
SuppressHintsWhenParameterNameMatchesTheMethodsIntent.
IsEnabled
= enabledForParameters
238
SuppressHintsWhenParameterNamesDifferOnlyBySuffix.
IsEnabled
= enabledForParameters
239
SuppressHintsWhenParameterNamesMatchArgumentNames.
IsEnabled
= enabledForParameters
253
Collapse_regions_on_file_open.
IsEnabled
= True
254
Collapse_imports_on_file_open.
IsEnabled
= True
255
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= True
256
Collapse_metadata_signature_files_on_open.
IsEnabled
= True
260
Collapse_regions_on_file_open.
IsEnabled
= False
261
Collapse_imports_on_file_open.
IsEnabled
= False
262
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= False
263
Collapse_metadata_signature_files_on_open.
IsEnabled
= False
267
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= True
271
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= False
PresentationFramework (23)
System\Windows\Controls\GridSplitter.cs (1)
400
previewControl.
IsEnabled
= false;
System\Windows\Controls\Primitives\CalendarItem.cs (18)
1087
childButton.
IsEnabled
= false;
1092
childButton.
IsEnabled
= true;
1132
childButton.
IsEnabled
= false;
1202
this._headerButton.
IsEnabled
= true;
1216
_nextButton.
IsEnabled
= false;
1223
_nextButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1233
_previousButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1265
childButton.
IsEnabled
= false;
1270
childButton.
IsEnabled
= true;
1281
childButton.
IsEnabled
= false;
1309
childButton.
IsEnabled
= false;
1314
childButton.
IsEnabled
= true;
1328
this._headerButton.
IsEnabled
= true;
1337
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1345
_previousButton.
IsEnabled
= (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1358
this._headerButton.
IsEnabled
= false;
1366
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year > decadeEnd);
1374
_previousButton.
IsEnabled
= (decade > this.Owner.DisplayDateStartInternal.Year);
System\Windows\Controls\Separator.cs (1)
34
container.
IsEnabled
= false;
System\windows\Documents\TextEditorContextMenu.cs (1)
508
menuItem.
IsEnabled
= false;
System\Windows\Input\KeyboardNavigation.cs (2)
513
IsEnabled
= false;
537
IsEnabled
= false;
PresentationUI (2)
MS\Internal\Documents\FindToolBar.xaml.cs (2)
274
FindNextButton.
IsEnabled
= FindEnabled;
279
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)
103
_keyTipControl.
IsEnabled
= (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
120
adapter.
IsEnabled
= (bool)value;
156 references to IsEnabled
PresentationCore (16)
MS\Internal\Automation\ElementUtil.cs (1)
185
if( el != null && ! el.
IsEnabled
)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
355
return _owner.
IsEnabled
;
System\Windows\Input\AccessKeyManager.cs (1)
254
if (!target.
IsEnabled
)
System\Windows\Input\MouseDevice.cs (2)
322
if(e.IsVisible && e.
IsEnabled
)
765
if (element.
IsEnabled
== false)
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
680
return element.
IsEnabled
&& element.IsVisible && element.IsHitTestVisible;
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (2)
266
if (_element.IsArrangeValid && _element.
IsEnabled
&& _element.IsVisible && _element.IsHitTestVisible)
574
System.Diagnostics.Debug.Assert(_element.
IsEnabled
== (bool)e.NewValue);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
571
if ((e?.IsVisible ?? false) || (e?.
IsEnabled
?? false))
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
66
if (element.IsVisible && element.
IsEnabled
&& element.IsHitTestVisible)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
264
if (e.IsVisible || e.
IsEnabled
)
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
76
if (element.IsVisible && element.
IsEnabled
&& element.IsHitTestVisible)
System\Windows\Input\TouchDevice.cs (2)
351
(((uiElement != null) && uiElement.IsVisible && uiElement.
IsEnabled
) ||
536
killCapture = !uiElement.
IsEnabled
|| !uiElement.IsVisible || !uiElement.IsHitTestVisible;
System\Windows\UIElement.cs (2)
2086
if (element.
IsEnabled
)
2613
if (Focusable &&
IsEnabled
)
PresentationFramework (36)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
159
if (!owner.
IsEnabled
)
182
return !owner.
IsEnabled
|| owner.IsReadOnly;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
800
if (!OwningDataGrid.
IsEnabled
)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
828
else if (owningButton != null && owningButton.
IsEnabled
)
System\Windows\Controls\Button.cs (1)
205
if (!IsDefault || focus == null || !
IsEnabled
)
System\Windows\Controls\ComboBox.cs (1)
995
if (!
IsEnabled
)
System\Windows\Controls\DataGrid.cs (4)
3478
if (dataGrid.IsReadOnly || !dataGrid.
IsEnabled
)
4335
e.CanExecute = (dataGrid.SelectionMode == DataGridSelectionMode.Extended) && dataGrid.
IsEnabled
;
6367
if (!
IsEnabled
)
8610
if (!
IsEnabled
)
System\Windows\Controls\DatePicker.cs (2)
323
if (!dp.
IsEnabled
)
762
if (!
IsEnabled
)
System\Windows\Controls\Expander.cs (1)
215
if (!
IsEnabled
)
System\Windows\Controls\InkCanvas.cs (2)
2704
if ( inkCanvas.
IsEnabled
&& !inkCanvas.EditingCoordinator.UserIsEditing )
2777
if ( inkCanvas.
IsEnabled
System\Windows\Controls\ListBoxItem.cs (1)
194
if (!
IsEnabled
)
System\Windows\Controls\PasswordBox.cs (1)
421
if (!
IsEnabled
)
System\Windows\Controls\PopupControlService.cs (1)
1163
enabled = uie.
IsEnabled
;
System\Windows\Controls\Primitives\ButtonBase.cs (1)
789
if (!
IsEnabled
)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
247
if (!
IsEnabled
)
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
107
if (
IsEnabled
)
System\Windows\Controls\Primitives\RangeBase.cs (1)
347
if (!
IsEnabled
)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
974
if (!
IsEnabled
)
System\Windows\Controls\Primitives\Thumb.cs (1)
188
if (!
IsEnabled
)
System\Windows\Controls\TabControl.cs (2)
300
if (!
IsEnabled
)
472
if (tabItem != null && tabItem.
IsEnabled
&& tabItem.Visibility == Visibility.Visible)
System\Windows\Controls\TabItem.cs (1)
227
if (!
IsEnabled
)
System\Windows\Controls\TextBox.cs (1)
986
&& textBox.
IsEnabled
System\Windows\Controls\TreeViewItem.cs (3)
547
if (!e.Handled &&
IsEnabled
)
664
return CanExpand &&
IsEnabled
;
1097
if (!
IsEnabled
)
System\windows\Documents\TextEditor.cs (1)
1318
return _uiScope == null ? false : _uiScope.
IsEnabled
;
System\windows\Documents\TextEditorMouse.cs (1)
706
if (uiElement != null && uiElement.
IsEnabled
)
System\windows\Documents\TextSelection.cs (1)
334
if (uiScope.
IsEnabled
&& this.TextView != null)
System\Windows\Input\KeyboardNavigation.cs (2)
1919
&& fe.
IsEnabled
1936
return (uie.Focusable && uie.
IsEnabled
&& uie.IsVisible);
PresentationFramework.Aero (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
861
IsEnabled
;
1788
if (!
IsEnabled
)
2016
if (!
IsEnabled
)
2073
if (!
IsEnabled
)
2145
if (!
IsEnabled
)
2238
if (!
IsEnabled
)
2275
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
490
if (!
IsEnabled
&& !RoundCorners)
610
if (
IsEnabled
&& pen != null)
633
if (
IsEnabled
&& pen != null)
647
if (!
IsEnabled
&& !RoundCorners)
682
IsEnabled
;
768
if (!
IsEnabled
)
876
if (!
IsEnabled
)
980
if (!
IsEnabled
)
1047
if (!
IsEnabled
)
1109
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
40
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
411
IsEnabled
;
625
if (!
IsEnabled
)
641
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
992
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1011
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1156
else if (
IsEnabled
||
1228
if (
IsEnabled
||
1299
if (
IsEnabled
||
1662
else if (
IsEnabled
)
PresentationFramework.Aero2 (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
861
IsEnabled
;
1788
if (!
IsEnabled
)
2016
if (!
IsEnabled
)
2073
if (!
IsEnabled
)
2145
if (!
IsEnabled
)
2238
if (!
IsEnabled
)
2275
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
490
if (!
IsEnabled
&& !RoundCorners)
610
if (
IsEnabled
&& pen != null)
633
if (
IsEnabled
&& pen != null)
647
if (!
IsEnabled
&& !RoundCorners)
682
IsEnabled
;
768
if (!
IsEnabled
)
876
if (!
IsEnabled
)
980
if (!
IsEnabled
)
1047
if (!
IsEnabled
)
1109
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
40
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
411
IsEnabled
;
625
if (!
IsEnabled
)
641
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
992
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1011
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1156
else if (
IsEnabled
||
1228
if (
IsEnabled
||
1299
if (
IsEnabled
||
1662
else if (
IsEnabled
)
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
40
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (1)
486
if (
IsEnabled
)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
49
bool isClickable = IsClickable &&
IsEnabled
;
PresentationFramework.Luna (20)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
627
if (!
IsEnabled
)
734
if (!
IsEnabled
)
933
if (!
IsEnabled
|| RenderPressed)
1070
if (!
IsEnabled
)
1166
if (!
IsEnabled
|| RenderPressed)
1209
if (!
IsEnabled
)
1248
if (!
IsEnabled
)
1429
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
80
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1277
if (!
IsEnabled
)
1617
if (!
IsEnabled
)
1845
if (!
IsEnabled
)
1997
if (!
IsEnabled
)
2277
if (!
IsEnabled
)
2418
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
659
if (!
IsEnabled
)
758
if (!
IsEnabled
)
882
if (!
IsEnabled
)
942
if (!
IsEnabled
)
956
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
493
if (!
IsEnabled
)
593
if (!
IsEnabled
)
667
if (!
IsEnabled
|| RenderPressed)
740
if (!
IsEnabled
)
779
if (!
IsEnabled
|| RenderPressed)
817
if (!
IsEnabled
)
882
if (!
IsEnabled
)
933
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
796
if (!
IsEnabled
)
912
if (!
IsEnabled
)
984
if (!
IsEnabled
)
1072
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
659
if (!
IsEnabled
)
758
if (!
IsEnabled
)
882
if (!
IsEnabled
)
942
if (!
IsEnabled
)
956
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (2)
111
return !OwningComboBox.
IsEnabled
;
118
if (!owner.
IsEnabled
)
Microsoft\Windows\Automation\Peers\RibbonTextBoxAutomationPeer.cs (1)
142
if (!rtb.
IsEnabled
)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (2)
401
auxiliaryPaneHost.
IsEnabled
&&
417
footerPaneHost.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2507
container.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1519
this.
IsEnabled
&&
1543
this.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
508
return tab.
IsEnabled
;