8 references to OverridesDefaultStyleProperty
PresentationFramework (8)
src\Framework\System\Windows\FrameworkContentElement.cs (1)
175
= FrameworkElement.
OverridesDefaultStyleProperty
.AddOwner(typeof(FrameworkContentElement),
src\Framework\System\Windows\FrameworkElement.cs (2)
203
get { return (bool)GetValue(
OverridesDefaultStyleProperty
); }
204
set { SetValue(
OverridesDefaultStyleProperty
, BooleanBoxes.Box(value)); }
src\Framework\System\Windows\StyleHelper.cs (5)
114
if (StyleHelper.IsSetOnContainer(FrameworkElement.
OverridesDefaultStyleProperty
, ref newThemeStyle.ContainerDependents, true))
472
if (StyleHelper.IsSetOnContainer(FrameworkElement.
OverridesDefaultStyleProperty
, ref containerDependents, true))
474
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.
OverridesDefaultStyleProperty
.Name));
3118
dp != FrameworkElement.
OverridesDefaultStyleProperty
);
3133
dp != FrameworkElement.
OverridesDefaultStyleProperty
&&