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