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