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)
394
previewControl.
IsEnabled
= false;
System\Windows\Controls\Primitives\CalendarItem.cs (18)
1082
childButton.
IsEnabled
= false;
1087
childButton.
IsEnabled
= true;
1127
childButton.
IsEnabled
= false;
1197
this._headerButton.
IsEnabled
= true;
1211
_nextButton.
IsEnabled
= false;
1218
_nextButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1228
_previousButton.
IsEnabled
= (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1260
childButton.
IsEnabled
= false;
1265
childButton.
IsEnabled
= true;
1276
childButton.
IsEnabled
= false;
1304
childButton.
IsEnabled
= false;
1309
childButton.
IsEnabled
= true;
1323
this._headerButton.
IsEnabled
= true;
1332
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1340
_previousButton.
IsEnabled
= (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1353
this._headerButton.
IsEnabled
= false;
1361
_nextButton.
IsEnabled
= (this.Owner.DisplayDateEndInternal.Year > decadeEnd);
1369
_previousButton.
IsEnabled
= (decade > this.Owner.DisplayDateStartInternal.Year);
System\Windows\Controls\Separator.cs (1)
34
container.
IsEnabled
= false;
System\windows\Documents\TextEditorContextMenu.cs (1)
506
menuItem.
IsEnabled
= false;
System\Windows\Input\KeyboardNavigation.cs (2)
503
IsEnabled
= false;
527
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)
100
_keyTipControl.
IsEnabled
= (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
118
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)
313
if(e.IsVisible && e.
IsEnabled
)
756
if (element.
IsEnabled
== false)
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
670
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)
261
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)
2081
if (element.
IsEnabled
)
2608
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)
794
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)
985
if (!
IsEnabled
)
System\Windows\Controls\DataGrid.cs (4)
3475
if (dataGrid.IsReadOnly || !dataGrid.
IsEnabled
)
4332
e.CanExecute = (dataGrid.SelectionMode == DataGridSelectionMode.Extended) && dataGrid.
IsEnabled
;
6364
if (!
IsEnabled
)
8607
if (!
IsEnabled
)
System\Windows\Controls\DatePicker.cs (2)
319
if (!dp.
IsEnabled
)
758
if (!
IsEnabled
)
System\Windows\Controls\Expander.cs (1)
211
if (!
IsEnabled
)
System\Windows\Controls\InkCanvas.cs (2)
2692
if ( inkCanvas.
IsEnabled
&& !inkCanvas.EditingCoordinator.UserIsEditing )
2765
if ( inkCanvas.
IsEnabled
System\Windows\Controls\ListBoxItem.cs (1)
187
if (!
IsEnabled
)
System\Windows\Controls\PasswordBox.cs (1)
413
if (!
IsEnabled
)
System\Windows\Controls\PopupControlService.cs (1)
1153
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)
102
if (
IsEnabled
)
System\Windows\Controls\Primitives\RangeBase.cs (1)
335
if (!
IsEnabled
)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
965
if (!
IsEnabled
)
System\Windows\Controls\Primitives\Thumb.cs (1)
174
if (!
IsEnabled
)
System\Windows\Controls\TabControl.cs (2)
290
if (!
IsEnabled
)
462
if (tabItem != null && tabItem.
IsEnabled
&& tabItem.Visibility == Visibility.Visible)
System\Windows\Controls\TabItem.cs (1)
221
if (!
IsEnabled
)
System\Windows\Controls\TextBox.cs (1)
979
&& textBox.
IsEnabled
System\Windows\Controls\TreeViewItem.cs (3)
543
if (!e.Handled &&
IsEnabled
)
660
return CanExpand &&
IsEnabled
;
1093
if (!
IsEnabled
)
System\windows\Documents\TextEditor.cs (1)
1312
return _uiScope == null ? false : _uiScope.
IsEnabled
;
System\windows\Documents\TextEditorMouse.cs (1)
692
if (uiElement != null && uiElement.
IsEnabled
)
System\windows\Documents\TextSelection.cs (1)
331
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)
855
IsEnabled
;
1782
if (!
IsEnabled
)
2010
if (!
IsEnabled
)
2067
if (!
IsEnabled
)
2139
if (!
IsEnabled
)
2232
if (!
IsEnabled
)
2269
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
481
if (!
IsEnabled
&& !RoundCorners)
601
if (
IsEnabled
&& pen != null)
624
if (
IsEnabled
&& pen != null)
638
if (!
IsEnabled
&& !RoundCorners)
673
IsEnabled
;
759
if (!
IsEnabled
)
867
if (!
IsEnabled
)
971
if (!
IsEnabled
)
1038
if (!
IsEnabled
)
1100
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
405
IsEnabled
;
619
if (!
IsEnabled
)
635
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
987
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1006
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1151
else if (
IsEnabled
||
1223
if (
IsEnabled
||
1294
if (
IsEnabled
||
1657
else if (
IsEnabled
)
PresentationFramework.Aero2 (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
855
IsEnabled
;
1782
if (!
IsEnabled
)
2010
if (!
IsEnabled
)
2067
if (!
IsEnabled
)
2139
if (!
IsEnabled
)
2232
if (!
IsEnabled
)
2269
if (!
IsEnabled
)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
481
if (!
IsEnabled
&& !RoundCorners)
601
if (
IsEnabled
&& pen != null)
624
if (
IsEnabled
&& pen != null)
638
if (!
IsEnabled
&& !RoundCorners)
673
IsEnabled
;
759
if (!
IsEnabled
)
867
if (!
IsEnabled
)
971
if (!
IsEnabled
)
1038
if (!
IsEnabled
)
1100
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
405
IsEnabled
;
619
if (!
IsEnabled
)
635
if (!
IsEnabled
)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
987
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.HorizontalGripper)
1006
else if (
IsEnabled
|| _scrollGlyph == ScrollGlyph.VerticalGripper)
1151
else if (
IsEnabled
||
1223
if (
IsEnabled
||
1294
if (
IsEnabled
||
1657
else if (
IsEnabled
)
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (1)
480
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)
624
if (!
IsEnabled
)
731
if (!
IsEnabled
)
930
if (!
IsEnabled
|| RenderPressed)
1067
if (!
IsEnabled
)
1163
if (!
IsEnabled
|| RenderPressed)
1206
if (!
IsEnabled
)
1245
if (!
IsEnabled
)
1426
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
77
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1273
if (!
IsEnabled
)
1613
if (!
IsEnabled
)
1841
if (!
IsEnabled
)
1993
if (!
IsEnabled
)
2273
if (!
IsEnabled
)
2414
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
655
if (!
IsEnabled
)
754
if (!
IsEnabled
)
878
if (!
IsEnabled
)
938
if (!
IsEnabled
)
952
if (!RenderMouseOver || RenderPressed || !
IsEnabled
)
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
490
if (!
IsEnabled
)
590
if (!
IsEnabled
)
664
if (!
IsEnabled
|| RenderPressed)
737
if (!
IsEnabled
)
776
if (!
IsEnabled
|| RenderPressed)
814
if (!
IsEnabled
)
879
if (!
IsEnabled
)
930
if (!
IsEnabled
)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33
bool isClickable = IsClickable &&
IsEnabled
;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
792
if (!
IsEnabled
)
908
if (!
IsEnabled
)
980
if (!
IsEnabled
)
1068
if (!
IsEnabled
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
655
if (!
IsEnabled
)
754
if (!
IsEnabled
)
878
if (!
IsEnabled
)
938
if (!
IsEnabled
)
952
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)
2502
container.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1516
this.
IsEnabled
&&
1540
this.
IsEnabled
&&
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
506
return tab.
IsEnabled
;