9 references to TextSchema_ChildTypeIsInvalid
PresentationFramework (9)
System\Windows\Controls\TextBlock.cs (1)
145
throw new ArgumentException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, parentType.Name, valueType.Name));
System\Windows\Documents\FlowDocument.cs (1)
1629
throw new ArgumentException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, _typeofThis.Name, value.GetType().Name));
System\Windows\Documents\InlineCollection.cs (1)
167
throw new InvalidOperationException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, this.Parent.GetType().Name, child.GetType().Name));
System\Windows\Documents\TextElement.cs (2)
836
throw new ArgumentException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, this.GetType().Name, value.GetType().Name));
843
throw new ArgumentException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, this.GetType().Name, value.GetType().Name));
System\Windows\Documents\TextSchema.cs (3)
113
throw new InvalidOperationException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, parent.GetType().Name, child.GetType().Name));
144
throw new InvalidOperationException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, parent.GetType().Name, childType.Name));
176
throw new InvalidOperationException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, parent.GetType().Name, childType.Name));
System\Windows\Documents\ValidationHelper.cs (1)
107
throw new ArgumentException(SR.Format(SR.
TextSchema_ChildTypeIsInvalid
, position.Parent.GetType().Name, child.GetType().Name));