2 references to StyleForWrongType
PresentationFramework (2)
System\Windows\Controls\GroupItem.cs (1)
186throw new InvalidOperationException(SR.Format(SR.StyleForWrongType, style.TargetType.Name, this.GetType().Name));
System\Windows\Controls\ItemsControl.cs (1)
3477throw new InvalidOperationException(SR.Format(SR.StyleForWrongType, style.TargetType.Name, container.GetType().Name));