16 references to GetParentOfType
PresentationFramework (16)
System\Windows\Documents\RtfToXamlReader.cs (11)
5142DocumentNode dnRow = GetParentOfType(DocumentNodeType.dnRow); 5463DocumentNode dnCell = GetParentOfType(DocumentNodeType.dnCell); 5503if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5527if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5544DocumentNode dnRow = this.GetParentOfType(DocumentNodeType.dnRow); 5560if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 6804DocumentNode dnCell = dn.GetParentOfType(DocumentNodeType.dnCell); 6811DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6861DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6914if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 7331DocumentNode dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
System\Windows\Documents\XamlToRtfWriter.cs (5)
1162DocumentNode dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell); 1287DocumentNode dnList = dnThis.GetParentOfType(DocumentNodeType.dnList); 1428DocumentNode dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable); 1614DocumentNode dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable); 1869bool nested = dnThis.GetParentOfType(DocumentNodeType.dnCell) != null;