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)
607UIElement.IsEnabledProperty.AddOwner(
System\Windows\Input\AccessKeyManager.cs (1)
541return ((bool)element.GetValue(UIElement.IsEnabledProperty));
System\Windows\Input\Keyboard.cs (1)
398if((bool)element.GetValue(UIElement.IsEnabledProperty) == false)
System\Windows\UIElement.cs (9)
2064if ((bool)containingElement.GetValue(IsEnabledProperty)) 3594get { return (bool) GetValue(IsEnabledProperty);} 3595set { SetValue(IsEnabledProperty, BooleanBoxes.Box(value)); } 3656if(parent == null || (bool)parent.GetValue(IsEnabledProperty)) 4185bool parentValue = (bool) parent.GetValue(IsEnabledProperty); 4193uiElement.CoerceValue(IsEnabledProperty); 4197uiElement3D.CoerceValue(IsEnabledProperty); 4235bool parentValue = (bool) parent.GetValue(IsEnabledProperty); 4239contentElement.CoerceValue(IsEnabledProperty);
System\Windows\UIElement3D.cs (2)
817UIElement.IsEnabledProperty.AddOwner( 888if (parent == null || (bool)parent.GetValue(UIElement.IsEnabledProperty))
PresentationFramework (27)
System\Windows\Controls\Button.cs (1)
40IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\ComboBox.cs (2)
69IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 1600return (bool)d.GetValue(FrameworkElement.IsEnabledProperty);
System\Windows\Controls\DataGrid.cs (1)
53IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\DatePicker.cs (1)
93IsEnabledProperty.OverrideMetadata(typeof(DatePicker), new UIPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\Expander.cs (1)
65IsEnabledProperty.OverrideMetadata(typeof(Expander), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\ListBoxItem.cs (1)
56IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\MenuItem.cs (1)
2710CoerceValue(IsEnabledProperty);
System\Windows\Controls\PasswordBox.cs (1)
83IsEnabledProperty.OverrideMetadata(typeof(PasswordBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ButtonBase.cs (2)
48IsEnabledProperty.OverrideMetadata(typeof(ButtonBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 771CoerceValue(IsEnabledProperty);
System\Windows\Controls\Primitives\CalendarItem.cs (1)
69IsEnabledProperty.OverrideMetadata(typeof(CalendarItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\RangeBase.cs (1)
42IsEnabledProperty.OverrideMetadata(typeof(RangeBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\ScrollBar.cs (1)
733scrollBar.CoerceValue(IsEnabledProperty);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
71IsEnabledProperty.OverrideMetadata(typeof(TextBoxBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Thumb.cs (1)
60IsEnabledProperty.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\Track.cs (1)
46IsEnabledProperty.OverrideMetadata(typeof(Track), new UIPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
System\Windows\Controls\RichTextBox.cs (1)
807richTextBox.Document.CoerceValue(IsEnabledProperty);
System\Windows\Controls\Separator.cs (1)
24IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\TabControl.cs (1)
50IsEnabledProperty.OverrideMetadata(typeof(TabControl), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TabItem.cs (1)
61IsEnabledProperty.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\TreeViewItem.cs (1)
44IsEnabledProperty.OverrideMetadata(typeof(TreeViewItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Documents\CompositionAdorner.cs (1)
34IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
System\Windows\FrameworkElement.cs (1)
3090if (property == IsEnabledProperty)
System\Windows\Interop\ActiveXHost.cs (1)
79invalidatorMap[FrameworkElement.IsEnabledProperty] = new PropertyInvalidator(OnIsEnabledInvalidated);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3959DependencyProperty 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)
32IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged)));
Microsoft\Windows\Themes\ButtonChrome.cs (1)
35IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
32IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
30IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged)));
PresentationFramework.Aero2 (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
32IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged)));
Microsoft\Windows\Themes\ButtonChrome.cs (1)
35IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
32IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
30IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged)));
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
30IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
152IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
29IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
25IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
142IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
29IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
25IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
103_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty);
Microsoft\Windows\Controls\KeyTipService.cs (1)
939if (!((bool)(exactMatchElement.GetValue(UIElement.IsEnabledProperty))))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2958CoerceValue(IsEnabledProperty);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
45IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 749header.CoerceValue(RibbonTabHeader.IsEnabledProperty);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
38IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsEnabled))); 403CoerceValue(IsEnabledProperty);
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
248CoerceValue(IsEnabledProperty);