52 references to IsEnabledProperty
PresentationCore (14)
Core\CSharp\System\Windows\ContentElement.cs (1)
613UIElement.IsEnabledProperty.AddOwner(
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
622return ((bool)element.GetValue(UIElement.IsEnabledProperty));
Core\CSharp\System\Windows\Input\Keyboard.cs (1)
409if((bool)element.GetValue(UIElement.IsEnabledProperty) == false)
Core\CSharp\System\Windows\UIElement.cs (9)
2092if ((bool)containingElement.GetValue(IsEnabledProperty)) 3629get { return (bool) GetValue(IsEnabledProperty);} 3630set { SetValue(IsEnabledProperty, BooleanBoxes.Box(value)); } 3691if(parent == null || (bool)parent.GetValue(IsEnabledProperty)) 4228bool parentValue = (bool) parent.GetValue(IsEnabledProperty); 4236uiElement.CoerceValue(IsEnabledProperty); 4240uiElement3D.CoerceValue(IsEnabledProperty); 4278bool parentValue = (bool) parent.GetValue(IsEnabledProperty); 4282contentElement.CoerceValue(IsEnabledProperty);
Core\CSharp\System\Windows\UIElement3D.cs (2)
825UIElement.IsEnabledProperty.AddOwner( 896if (parent == null || (bool)parent.GetValue(UIElement.IsEnabledProperty))
PresentationFramework (27)
src\Framework\System\Windows\Controls\Button.cs (1)
36IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
src\Framework\System\Windows\Controls\ComboBox.cs (2)
70IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 1603return (bool)d.GetValue(FrameworkElement.IsEnabledProperty);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
54IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
src\Framework\System\Windows\Controls\DatePicker.cs (1)
94IsEnabledProperty.OverrideMetadata(typeof(DatePicker), new UIPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
src\Framework\System\Windows\Controls\Expander.cs (1)
66IsEnabledProperty.OverrideMetadata(typeof(Expander), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
56IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2767CoerceValue(IsEnabledProperty);
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
86IsEnabledProperty.OverrideMetadata(typeof(PasswordBox), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (2)
45IsEnabledProperty.OverrideMetadata(typeof(ButtonBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 765CoerceValue(IsEnabledProperty);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
70IsEnabledProperty.OverrideMetadata(typeof(CalendarItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
43IsEnabledProperty.OverrideMetadata(typeof(RangeBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
738scrollBar.CoerceValue(IsEnabledProperty);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
74IsEnabledProperty.OverrideMetadata(typeof(TextBoxBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
57IsEnabledProperty.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\Track.cs (1)
48IsEnabledProperty.OverrideMetadata(typeof(Track), new UIPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
821richTextBox.Document.CoerceValue(IsEnabledProperty);
src\Framework\System\Windows\Controls\Separator.cs (1)
25IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\TabControl.cs (1)
51IsEnabledProperty.OverrideMetadata(typeof(TabControl), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\TabItem.cs (1)
62IsEnabledProperty.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
45IsEnabledProperty.OverrideMetadata(typeof(TreeViewItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
36IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\FrameworkElement.cs (1)
3089if (property == IsEnabledProperty)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
86invalidatorMap[FrameworkElement.IsEnabledProperty] = new PropertyInvalidator(OnIsEnabledInvalidated);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3934DependencyProperty dp = System.Windows.UIElement.IsEnabledProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1949return System.Windows.UIElement.IsEnabledProperty;
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
38IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged)));
Microsoft\Windows\Themes\ButtonChrome.cs (1)
41IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
38IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
36IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged)));
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
160IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
35IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
30IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
150IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
Microsoft\Windows\Themes\ScrollChrome.cs (1)
35IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
30IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (1)
76Setter enableSetter = new Setter(TreeViewItem.IsEnabledProperty, false);