8 references to OverridesDefaultStyleProperty
PresentationFramework (8)
System\Windows\FrameworkContentElement.cs (1)
166= FrameworkElement.OverridesDefaultStyleProperty.AddOwner(typeof(FrameworkContentElement),
System\Windows\FrameworkElement.cs (2)
195get { return (bool)GetValue(OverridesDefaultStyleProperty); } 196set { SetValue(OverridesDefaultStyleProperty, BooleanBoxes.Box(value)); }
System\Windows\StyleHelper.cs (5)
115if (StyleHelper.IsSetOnContainer(FrameworkElement.OverridesDefaultStyleProperty, ref newThemeStyle.ContainerDependents, true)) 466if (StyleHelper.IsSetOnContainer(FrameworkElement.OverridesDefaultStyleProperty, ref containerDependents, true)) 468throw new InvalidOperationException(SR.Format(SR.CannotHavePropertyInTemplate, FrameworkElement.OverridesDefaultStyleProperty.Name)); 3113dp != FrameworkElement.OverridesDefaultStyleProperty); 3128dp != FrameworkElement.OverridesDefaultStyleProperty &&