Implemented interface member:
property
IsEnabled
System.Windows.IInputElement.IsEnabled
72 writes to IsEnabled
Microsoft.VisualStudio.LanguageServices.CSharp (24)
Options\AdvancedOptionPageControl.xaml.cs (21)
223
ShowHintsForLiterals.
IsEnabled
= enabledForParameters;
224
ShowHintsForNewExpressions.
IsEnabled
= enabledForParameters;
225
ShowHintsForEverythingElse.
IsEnabled
= enabledForParameters;
226
ShowHintsForIndexers.
IsEnabled
= enabledForParameters;
227
SuppressHintsWhenParameterNameMatchesTheMethodsIntent.
IsEnabled
= enabledForParameters;
228
SuppressHintsWhenParameterNamesDifferOnlyBySuffix.
IsEnabled
= enabledForParameters;
229
SuppressHintsWhenParameterNamesMatchArgumentNames.
IsEnabled
= enabledForParameters;
232
ShowHintsForVariablesWithInferredTypes.
IsEnabled
= enabledForTypes;
233
ShowHintsForLambdaParameterTypes.
IsEnabled
= enabledForTypes;
234
ShowHintsForImplicitObjectCreation.
IsEnabled
= enabledForTypes;
235
ShowHintsForCollectionExpressions.
IsEnabled
= enabledForTypes;
264
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= true;
269
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= false;
274
Collapse_regions_on_file_open.
IsEnabled
= true;
275
Collapse_usings_on_file_open.
IsEnabled
= true;
276
Collapse_metadata_signature_files_on_open.
IsEnabled
= true;
277
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= true;
282
Collapse_regions_on_file_open.
IsEnabled
= false;
283
Collapse_usings_on_file_open.
IsEnabled
= false;
284
Collapse_metadata_signature_files_on_open.
IsEnabled
= false;
285
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 (17)
Options\AdvancedOptionPageControl.xaml.vb (17)
213
ShowHintsForLiterals.
IsEnabled
= enabledForParameters
214
ShowHintsForNewExpressions.
IsEnabled
= enabledForParameters
215
ShowHintsForEverythingElse.
IsEnabled
= enabledForParameters
216
ShowHintsForIndexers.
IsEnabled
= enabledForParameters
217
SuppressHintsWhenParameterNameMatchesTheMethodsIntent.
IsEnabled
= enabledForParameters
218
SuppressHintsWhenParameterNamesDifferOnlyBySuffix.
IsEnabled
= enabledForParameters
219
SuppressHintsWhenParameterNamesMatchArgumentNames.
IsEnabled
= enabledForParameters
233
Collapse_regions_on_file_open.
IsEnabled
= True
234
Collapse_imports_on_file_open.
IsEnabled
= True
235
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= True
236
Collapse_metadata_signature_files_on_open.
IsEnabled
= True
240
Collapse_regions_on_file_open.
IsEnabled
= False
241
Collapse_imports_on_file_open.
IsEnabled
= False
242
Collapse_sourcelink_embedded_decompiled_files_on_open.
IsEnabled
= False
243
Collapse_metadata_signature_files_on_open.
IsEnabled
= False
247
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= True
251
Automatically_reload_updated_analyzers_and_generators.
IsEnabled
= False
PresentationFramework (23)
System\Windows\Controls\GridSplitter.cs (1)
395
IsEnabled
= false
System\Windows\Controls\Primitives\CalendarItem.cs (18)
1075
childButton.
IsEnabled
= false;
1080
childButton.
IsEnabled
= true;
1120
childButton.
IsEnabled
= false;
1189
this._headerButton.
IsEnabled
= true;
1203
_nextButton.
IsEnabled
= false;
1210
_nextButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1220
_previousButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1252
childButton.
IsEnabled
= false;
1257
childButton.
IsEnabled
= true;
1268
childButton.
IsEnabled
= false;
1296
childButton.
IsEnabled
= false;
1301
childButton.
IsEnabled
= true;
1315
this._headerButton.
IsEnabled
= true;
1324
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1332
_previousButton.
IsEnabled
= (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1345
this._headerButton.
IsEnabled
= false;
1353
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year > decadeEnd);
1361
_previousButton.
IsEnabled
= (decade > this.Owner.DisplayDateStartInternal.Year);
System\Windows\Controls\Separator.cs (1)
34
container.
IsEnabled
= false;
System\windows\Documents\TextEditorContextMenu.cs (1)
509
IsEnabled
= false
System\Windows\Input\KeyboardNavigation.cs (2)
505
IsEnabled
= false;
529
IsEnabled
= false;
PresentationUI (2)
MS\Internal\Documents\FindToolBar.xaml.cs (2)
262
FindNextButton.
IsEnabled
= FindEnabled;
267
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)
97
_keyTipControl.
IsEnabled
= (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
116
adapter.
IsEnabled
= (bool)value;
156 references to IsEnabled
PresentationCore (16)
MS\Internal\Automation\ElementUtil.cs (1)
170
if( el != null && ! el.
IsEnabled
)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
346
return _owner.
IsEnabled
;
System\Windows\Input\AccessKeyManager.cs (1)
242
if (!target.
IsEnabled
)
System\Windows\Input\MouseDevice.cs (2)
310
if(e.IsVisible && e.
IsEnabled
)
751
if (element.
IsEnabled
== false)
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
664
return element.
IsEnabled
&& element.IsVisible && element.IsHitTestVisible;
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (2)
257
if (_element.IsArrangeValid && _element.
IsEnabled
&& _element.IsVisible && _element.IsHitTestVisible)
565
System.Diagnostics.Debug.Assert(_element.
IsEnabled
== (bool)e.NewValue);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
563
if ((e?.IsVisible ?? false) || (e?.
IsEnabled
?? false))
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
57
if (element.IsVisible && element.
IsEnabled
&& element.IsHitTestVisible)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
258
if (e.IsVisible || e.
IsEnabled
)
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
67
if (element.IsVisible && element.
IsEnabled
&& element.IsHitTestVisible)
System\Windows\Input\TouchDevice.cs (2)
339
(((uiElement != null) && uiElement.IsVisible && uiElement.
IsEnabled
) ||
524
killCapture = !uiElement.
IsEnabled
|| !uiElement.IsVisible || !uiElement.IsHitTestVisible;
System\Windows\UIElement.cs (2)
2073
if (element.
IsEnabled
)
2600
if (Focusable &&
IsEnabled
)
PresentationFramework (36)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
147
if (!owner.
IsEnabled
)
170
return !owner.
IsEnabled
|| owner.IsReadOnly;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
791
if (!OwningDataGrid.
IsEnabled
)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
821
else if (owningButton != null && owningButton.
IsEnabled
)
System\Windows\Controls\Button.cs (1)
196
if (!IsDefault || focus == null || !
IsEnabled
)
System\Windows\Controls\ComboBox.cs (1)
981
if (!
IsEnabled
)
System\Windows\Controls\DataGrid.cs (4)
3452
if (dataGrid.IsReadOnly || !dataGrid.
IsEnabled
)
4303
e.CanExecute = (dataGrid.SelectionMode == DataGridSelectionMode.Extended) && dataGrid.
IsEnabled
;
6323
if (!
IsEnabled
)
8564
if (!
IsEnabled
)
System\Windows\Controls\DatePicker.cs (2)
319
if (!dp.
IsEnabled
)
758
if (!
IsEnabled
)
System\Windows\Controls\Expander.cs (1)
208
if (!
IsEnabled
)
System\Windows\Controls\InkCanvas.cs (2)
2708
if ( inkCanvas.
IsEnabled
&& !inkCanvas.EditingCoordinator.UserIsEditing )
2781
if ( inkCanvas.
IsEnabled
System\Windows\Controls\ListBoxItem.cs (1)
184
if (!
IsEnabled
)
System\Windows\Controls\PasswordBox.cs (1)
406
if (!
IsEnabled
)
System\Windows\Controls\PopupControlService.cs (1)
1160
enabled = uie.
IsEnabled
;
System\Windows\Controls\Primitives\ButtonBase.cs (1)
778
if (!
IsEnabled
)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
242
if (!
IsEnabled
)
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
104
if (
IsEnabled
)
System\Windows\Controls\Primitives\RangeBase.cs (1)
328
if (!
IsEnabled
)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
967
if (!
IsEnabled
)
System\Windows\Controls\Primitives\Thumb.cs (1)
174
if (!
IsEnabled
)
System\Windows\Controls\TabControl.cs (2)
289
if (!
IsEnabled
)
453
if (tabItem != null && tabItem.
IsEnabled
&& tabItem.Visibility == Visibility.Visible)
System\Windows\Controls\TabItem.cs (1)
220
if (!
IsEnabled
)
System\Windows\Controls\TextBox.cs (1)
981
&& textBox.
IsEnabled
System\Windows\Controls\TreeViewItem.cs (3)
537
if (!e.Handled &&
IsEnabled
)
654
return CanExpand &&
IsEnabled
;
1076
if (!
IsEnabled
)
System\windows\Documents\TextEditor.cs (1)
1300
return _uiScope == null ? false : _uiScope.
IsEnabled
;
System\windows\Documents\TextEditorMouse.cs (1)
689
if (uiElement != null && uiElement.
IsEnabled
)
System\windows\Documents\TextSelection.cs (1)
319
if (uiScope.
IsEnabled
&& this.TextView != null)
System\Windows\Input\KeyboardNavigation.cs (2)
1909
&& fe.
IsEnabled
1926
return (uie.Focusable && uie.
IsEnabled
&& uie.IsVisible);
PresentationFramework.Aero (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
869
IsEnabled
;
1865
if (!
IsEnabled
)
2107
if (!
IsEnabled
)
2164
if (!
IsEnabled
)
2236
if (!
IsEnabled
)
2329
if (!
IsEnabled
)
2366
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
489
if (!
IsEnabled
&& !RoundCorners)
609
if (
IsEnabled
&& pen != null)
633
if (
IsEnabled
&& pen != null)
647
if (!
IsEnabled
&& !RoundCorners)
682
IsEnabled
;
772
if (!
IsEnabled
)
886
if (!
IsEnabled
)
995
if (!
IsEnabled
)
1064
if (!
IsEnabled
)
1128
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
404
IsEnabled
;
627
if (!
IsEnabled
)
643
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1017
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1036
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1187
else if (
IsEnabled
||
1263
if (
IsEnabled
||
1338
if (
IsEnabled
||
1721
else if (
IsEnabled
)
PresentationFramework.Aero2 (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
869
IsEnabled
;
1865
if (!
IsEnabled
)
2107
if (!
IsEnabled
)
2164
if (!
IsEnabled
)
2236
if (!
IsEnabled
)
2329
if (!
IsEnabled
)
2366
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
489
if (!
IsEnabled
&& !RoundCorners)
609
if (
IsEnabled
&& pen != null)
633
if (
IsEnabled
&& pen != null)
647
if (!
IsEnabled
&& !RoundCorners)
682
IsEnabled
;
772
if (!
IsEnabled
)
886
if (!
IsEnabled
)
995
if (!
IsEnabled
)
1064
if (!
IsEnabled
)
1128
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
404
IsEnabled
;
627
if (!
IsEnabled
)
643
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1017
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1036
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1187
else if (
IsEnabled
||
1263
if (
IsEnabled
||
1338
if (
IsEnabled
||
1721
else if (
IsEnabled
)
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (1)
486
if (
IsEnabled
)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
45
bool isClickable = IsClickable &&
IsEnabled
;
PresentationFramework.Luna (20)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
622
if (!
IsEnabled
)
731
if (!
IsEnabled
)
942
if (!
IsEnabled
|| RenderPressed)
1087
if (!
IsEnabled
)
1189
if (!
IsEnabled
|| RenderPressed)
1234
if (!
IsEnabled
)
1275
if (!
IsEnabled
)
1464
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
77
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1327
if (!
IsEnabled
)
1667
if (!
IsEnabled
)
1895
if (!
IsEnabled
)
2057
if (!
IsEnabled
)
2359
if (!
IsEnabled
)
2506
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
658
if (!
IsEnabled
)
765
if (!
IsEnabled
)
895
if (!
IsEnabled
)
955
if (!
IsEnabled
)
969
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
488
if (!
IsEnabled
)
590
if (!
IsEnabled
)
668
if (!
IsEnabled
|| RenderPressed)
745
if (!
IsEnabled
)
786
if (!
IsEnabled
|| RenderPressed)
826
if (!
IsEnabled
)
895
if (!
IsEnabled
)
948
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
816
if (!
IsEnabled
)
932
if (!
IsEnabled
)
1004
if (!
IsEnabled
)
1098
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
658
if (!
IsEnabled
)
765
if (!
IsEnabled
)
895
if (!
IsEnabled
)
955
if (!
IsEnabled
)
969
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (2)
108
return !OwningComboBox.
IsEnabled
;
115
if (!owner.
IsEnabled
)
Microsoft\Windows\Automation\Peers\RibbonTextBoxAutomationPeer.cs (1)
140
if (!rtb.
IsEnabled
)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (2)
399
auxiliaryPaneHost.
IsEnabled
&&
415
footerPaneHost.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2488
container.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1507
this.
IsEnabled
&&
1531
this.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
506
return tab.
IsEnabled
;