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