8 references to OverridesDefaultStyleProperty
PresentationFramework (8)
System\Windows\FrameworkContentElement.cs (1)
156
= FrameworkElement.
OverridesDefaultStyleProperty
.AddOwner(typeof(FrameworkContentElement),
System\Windows\FrameworkElement.cs (2)
187
get { return (bool)GetValue(
OverridesDefaultStyleProperty
); }
188
set { SetValue(
OverridesDefaultStyleProperty
, BooleanBoxes.Box(value)); }
System\Windows\StyleHelper.cs (5)
107
if (StyleHelper.IsSetOnContainer(FrameworkElement.
OverridesDefaultStyleProperty
, ref newThemeStyle.ContainerDependents, true))
453
if (StyleHelper.IsSetOnContainer(FrameworkElement.
OverridesDefaultStyleProperty
, ref containerDependents, true))
455
throw new InvalidOperationException(SR.Format(SR.CannotHavePropertyInTemplate, FrameworkElement.
OverridesDefaultStyleProperty
.Name));
3104
dp != FrameworkElement.
OverridesDefaultStyleProperty
);
3119
dp != FrameworkElement.
OverridesDefaultStyleProperty
&&