16 references to GetParentOfType
PresentationFramework (16)
System\Windows\Documents\RtfToXamlReader.cs (11)
5140DocumentNode dnRow = GetParentOfType(DocumentNodeType.dnRow); 5461DocumentNode dnCell = GetParentOfType(DocumentNodeType.dnCell); 5501if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5525if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5542DocumentNode dnRow = this.GetParentOfType(DocumentNodeType.dnRow); 5558if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 6802DocumentNode dnCell = dn.GetParentOfType(DocumentNodeType.dnCell); 6809DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6859DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6912if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 7329DocumentNode dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
System\Windows\Documents\XamlToRtfWriter.cs (5)
1161DocumentNode dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell); 1286DocumentNode dnList = dnThis.GetParentOfType(DocumentNodeType.dnList); 1427DocumentNode dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable); 1613DocumentNode dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable); 1868bool nested = dnThis.GetParentOfType(DocumentNodeType.dnCell) != null;