65 references to IsEnabledProperty
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
209
image.SetBinding(CrispImage.GrayscaleProperty, new Binding(UIElement.
IsEnabledProperty
.Name)
PresentationCore (14)
System\Windows\ContentElement.cs (1)
596
UIElement.
IsEnabledProperty
.AddOwner(
System\Windows\Input\AccessKeyManager.cs (1)
529
return ((bool)element.GetValue(UIElement.
IsEnabledProperty
));
System\Windows\Input\Keyboard.cs (1)
391
if((bool)element.GetValue(UIElement.
IsEnabledProperty
) == false)
System\Windows\UIElement.cs (9)
2059
if ((bool)containingElement.GetValue(
IsEnabledProperty
))
3589
get { return (bool) GetValue(
IsEnabledProperty
);}
3590
set { SetValue(
IsEnabledProperty
, BooleanBoxes.Box(value)); }
3651
if(parent == null || (bool)parent.GetValue(
IsEnabledProperty
))
4180
bool parentValue = (bool) parent.GetValue(
IsEnabledProperty
);
4188
uiElement.CoerceValue(
IsEnabledProperty
);
4192
uiElement3D.CoerceValue(
IsEnabledProperty
);
4230
bool parentValue = (bool) parent.GetValue(
IsEnabledProperty
);
4234
contentElement.CoerceValue(
IsEnabledProperty
);
System\Windows\UIElement3D.cs (2)
802
UIElement.
IsEnabledProperty
.AddOwner(
873
if (parent == null || (bool)parent.GetValue(UIElement.
IsEnabledProperty
))
PresentationFramework (27)
System\Windows\Controls\Button.cs (1)
31
IsEnabledProperty
.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\ComboBox.cs (2)
59
IsEnabledProperty
.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
1590
return (bool)d.GetValue(FrameworkElement.
IsEnabledProperty
);
System\Windows\Controls\DataGrid.cs (1)
50
IsEnabledProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\DatePicker.cs (1)
89
IsEnabledProperty
.OverrideMetadata(typeof(DatePicker), new UIPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\Expander.cs (1)
61
IsEnabledProperty
.OverrideMetadata(typeof(Expander), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\ListBoxItem.cs (1)
49
IsEnabledProperty
.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\MenuItem.cs (1)
2700
CoerceValue(
IsEnabledProperty
);
System\Windows\Controls\PasswordBox.cs (1)
75
IsEnabledProperty
.OverrideMetadata(typeof(PasswordBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ButtonBase.cs (2)
37
IsEnabledProperty
.OverrideMetadata(typeof(ButtonBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
760
CoerceValue(
IsEnabledProperty
);
System\Windows\Controls\Primitives\CalendarItem.cs (1)
64
IsEnabledProperty
.OverrideMetadata(typeof(CalendarItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\RangeBase.cs (1)
30
IsEnabledProperty
.OverrideMetadata(typeof(RangeBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ScrollBar.cs (1)
717
scrollBar.CoerceValue(
IsEnabledProperty
);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
62
IsEnabledProperty
.OverrideMetadata(typeof(TextBoxBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Thumb.cs (1)
46
IsEnabledProperty
.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Track.cs (1)
35
IsEnabledProperty
.OverrideMetadata(typeof(Track), new UIPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\RichTextBox.cs (1)
803
richTextBox.Document.CoerceValue(
IsEnabledProperty
);
System\Windows\Controls\Separator.cs (1)
24
IsEnabledProperty
.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\TabControl.cs (1)
40
IsEnabledProperty
.OverrideMetadata(typeof(TabControl), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TabItem.cs (1)
55
IsEnabledProperty
.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TreeViewItem.cs (1)
40
IsEnabledProperty
.OverrideMetadata(typeof(TreeViewItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Documents\CompositionAdorner.cs (1)
31
IsEnabledProperty
.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
System\Windows\FrameworkElement.cs (1)
3079
if (property ==
IsEnabledProperty
)
System\Windows\Interop\ActiveXHost.cs (1)
69
invalidatorMap[FrameworkElement.
IsEnabledProperty
] = new PropertyInvalidator(OnIsEnabledInvalidated);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3957
DependencyProperty dp = System.Windows.UIElement.
IsEnabledProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1952
return System.Windows.UIElement.
IsEnabledProperty
;
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
26
IsEnabledProperty
.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged)));
Microsoft\Windows\Themes\ButtonChrome.cs (1)
26
IsEnabledProperty
.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
26
IsEnabledProperty
.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
25
IsEnabledProperty
.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged)));
PresentationFramework.Aero2 (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
26
IsEnabledProperty
.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged)));
Microsoft\Windows\Themes\ButtonChrome.cs (1)
26
IsEnabledProperty
.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
26
IsEnabledProperty
.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
25
IsEnabledProperty
.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged)));
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
24
IsEnabledProperty
.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
149
IsEnabledProperty
.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
25
IsEnabledProperty
.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
21
IsEnabledProperty
.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
139
IsEnabledProperty
.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
25
IsEnabledProperty
.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
21
IsEnabledProperty
.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
100
_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.
IsEnabledProperty
);
Microsoft\Windows\Controls\KeyTipService.cs (1)
937
if (!((bool)(exactMatchElement.GetValue(UIElement.
IsEnabledProperty
))))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2956
CoerceValue(
IsEnabledProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
43
IsEnabledProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
747
header.CoerceValue(RibbonTabHeader.
IsEnabledProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
36
IsEnabledProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsEnabled)));
401
CoerceValue(
IsEnabledProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
246
CoerceValue(
IsEnabledProperty
);