5 references to IsValidChildOfContainer
PresentationFramework (5)
System\Windows\Controls\TextBlock.cs (1)
150if (!TextSchema.IsValidChildOfContainer(parentType, /*childType*/valueType))
System\Windows\Documents\FlowDocument.cs (1)
1640if (!TextSchema.IsValidChildOfContainer(/*parentType:*/_typeofThis, /*childType:*/value.GetType()))
System\Windows\Documents\InlineCollection.cs (1)
167if (!TextSchema.IsValidChildOfContainer(this.Parent.GetType(), child.GetType()))
System\Windows\Documents\TextPointer.cs (1)
1426if (!TextSchema.IsValidChildOfContainer(containerType, typeof(Paragraph)))
System\Windows\Documents\TextRangeEdit.cs (1)
594Invariant.Assert(position.TextContainer.Parent == null || TextSchema.IsValidChildOfContainer(position.TextContainer.Parent.GetType(), typeof(Paragraph)));