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