Implemented interface member:
property
IsEnabled
System.Windows.IInputElement.IsEnabled
27 writes to IsEnabled
PresentationFramework (23)
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
402previewControl.IsEnabled = false;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (18)
1090childButton.IsEnabled = false; 1095childButton.IsEnabled = true; 1135childButton.IsEnabled = false; 1205this._headerButton.IsEnabled = true; 1219_nextButton.IsEnabled = false; 1226_nextButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1); 1236_previousButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0); 1268childButton.IsEnabled = false; 1273childButton.IsEnabled = true; 1284childButton.IsEnabled = false; 1313childButton.IsEnabled = false; 1318childButton.IsEnabled = true; 1332this._headerButton.IsEnabled = true; 1341_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year); 1349_previousButton.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year); 1362this._headerButton.IsEnabled = false; 1370_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd); 1378_previousButton.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);
src\Framework\System\Windows\Controls\Separator.cs (1)
35container.IsEnabled = false;
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
534menuItem.IsEnabled = false;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
561IsEnabled = false; 585IsEnabled = false;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (4)
108element.IsEnabled = false; 962((ExtensionWindow)sender).IsEnabled = false; 1321element.IsEnabled = false; 1325element.IsEnabled = true;
116 references to IsEnabled
PresentationCore (9)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
197if( el != null && ! el.IsEnabled )
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
378return _owner.IsEnabled;
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
294if (!target.IsEnabled)
Core\CSharp\System\Windows\Input\MouseDevice.cs (2)
377if(e.IsVisible && e.IsEnabled) 839if (element.IsEnabled == false)
Core\CSharp\System\Windows\Input\TouchDevice.cs (2)
390(((uiElement != null) && uiElement.IsVisible && uiElement.IsEnabled) || 574killCapture = !uiElement.IsEnabled || !uiElement.IsVisible || !uiElement.IsHitTestVisible;
Core\CSharp\System\Windows\UIElement.cs (2)
2114if (element.IsEnabled) 2642if (Focusable && IsEnabled)
PresentationFramework (35)
src\Framework\System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (2)
154if (!owner.IsEnabled) 177return !owner.IsEnabled || owner.IsReadOnly;
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
774if (!OwningDataGrid.IsEnabled)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
804else if (owningButton != null && owningButton.IsEnabled)
src\Framework\System\Windows\Controls\Button.cs (1)
201if (!IsDefault || focus == null || !IsEnabled)
src\Framework\System\Windows\Controls\ComboBox.cs (1)
997if (!IsEnabled)
src\Framework\System\Windows\Controls\DataGrid.cs (4)
3483if (dataGrid.IsReadOnly || !dataGrid.IsEnabled) 4340e.CanExecute = (dataGrid.SelectionMode == DataGridSelectionMode.Extended) && dataGrid.IsEnabled; 6372if (!IsEnabled) 8637if (!IsEnabled)
src\Framework\System\Windows\Controls\DatePicker.cs (2)
323if (!dp.IsEnabled) 751if (!IsEnabled)
src\Framework\System\Windows\Controls\Expander.cs (1)
216if (!IsEnabled)
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
2844if ( inkCanvas.IsEnabled && !inkCanvas.EditingCoordinator.UserIsEditing ) 2923if ( inkCanvas.IsEnabled
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
194if (!IsEnabled)
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
437if (!IsEnabled)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
1043enabled = uie.IsEnabled;
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
783if (!IsEnabled)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
248if (!IsEnabled)
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
107if (IsEnabled)
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
348if (!IsEnabled)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
997if (!IsEnabled)
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
185if (!IsEnabled)
src\Framework\System\Windows\Controls\TabControl.cs (2)
301if (!IsEnabled) 473if (tabItem != null && tabItem.IsEnabled && tabItem.Visibility == Visibility.Visible)
src\Framework\System\Windows\Controls\TabItem.cs (1)
228if (!IsEnabled)
src\Framework\System\Windows\Controls\TreeViewItem.cs (3)
548if (!e.Handled && IsEnabled) 665return CanExpand && IsEnabled; 1097if (!IsEnabled)
src\Framework\System\windows\Documents\TextEditor.cs (1)
1345return _uiScope == null ? false : _uiScope.IsEnabled;
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
707if (uiElement != null && uiElement.IsEnabled)
src\Framework\System\windows\Documents\TextSelection.cs (1)
337if (uiScope.IsEnabled && this.TextView != null)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
2005&& fe.IsEnabled 2022return (uie.Focusable && uie.IsEnabled && uie.IsVisible);
PresentationFramework.Aero (27)
Microsoft\Windows\Themes\BulletChrome.cs (7)
867IsEnabled; 1794if (!IsEnabled) 2022if (!IsEnabled) 2079if (!IsEnabled) 2151if (!IsEnabled) 2244if (!IsEnabled) 2281if (!IsEnabled)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
496if (!IsEnabled && !RoundCorners) 616if (IsEnabled && pen != null) 639if (IsEnabled && pen != null) 653if (!IsEnabled && !RoundCorners) 688IsEnabled; 774if (!IsEnabled) 882if (!IsEnabled) 986if (!IsEnabled) 1053if (!IsEnabled) 1115if (!IsEnabled)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
42bool isClickable = IsClickable && IsEnabled;
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
417IsEnabled; 631if (!IsEnabled) 647if (!IsEnabled)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
998else if (IsEnabled || _scrollGlyph == ScrollGlyph.HorizontalGripper) 1017else if (IsEnabled || _scrollGlyph == ScrollGlyph.VerticalGripper) 1162else if (IsEnabled || 1234if (IsEnabled || 1305if (IsEnabled || 1668else if (IsEnabled)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
51bool isClickable = IsClickable && IsEnabled;
PresentationFramework.Luna (20)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
635if (!IsEnabled) 742if (!IsEnabled) 941if (!IsEnabled || RenderPressed) 1078if (!IsEnabled) 1174if (!IsEnabled || RenderPressed) 1217if (!IsEnabled) 1256if (!IsEnabled) 1437if (!IsEnabled)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
82bool isClickable = IsClickable && IsEnabled;
Microsoft\Windows\Themes\ScrollChrome.cs (6)
1283if (!IsEnabled) 1623if (!IsEnabled) 1851if (!IsEnabled) 2003if (!IsEnabled) 2283if (!IsEnabled) 2424if (!IsEnabled)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
664if (!IsEnabled) 763if (!IsEnabled) 887if (!IsEnabled) 947if (!IsEnabled) 961if (!RenderMouseOver || RenderPressed || !IsEnabled)
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
501if (!IsEnabled) 601if (!IsEnabled) 675if (!IsEnabled || RenderPressed) 748if (!IsEnabled) 787if (!IsEnabled || RenderPressed) 825if (!IsEnabled) 890if (!IsEnabled) 941if (!IsEnabled)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
38bool isClickable = IsClickable && IsEnabled;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
802if (!IsEnabled) 918if (!IsEnabled) 990if (!IsEnabled) 1078if (!IsEnabled)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
664if (!IsEnabled) 763if (!IsEnabled) 887if (!IsEnabled) 947if (!IsEnabled) 961if (!RenderMouseOver || RenderPressed || !IsEnabled)
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (1)
59if (connPoint.IsEnabled)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
312if (connPoint != null && connPoint.IsEnabled)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1265if (designer.IsEnabled)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
1776if (!glyphCache.TryGetValue(new KeyValuePair<string, bool>(iconName, menuItem.IsEnabled), out glyph)) 1778string key = string.Format(CultureInfo.InvariantCulture, "Operation{0}{1}Icon", iconName, menuItem.IsEnabled ? string.Empty : "Disabled"); 1781glyphCache[new KeyValuePair<string, bool>(iconName, menuItem.IsEnabled)] = glyph;