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