16 references to GetParentOfType
PresentationFramework (16)
System\Windows\Documents\RtfToXamlReader.cs (11)
5148DocumentNode dnRow = GetParentOfType(DocumentNodeType.dnRow); 5469DocumentNode dnCell = GetParentOfType(DocumentNodeType.dnCell); 5509if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5533if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5550DocumentNode dnRow = this.GetParentOfType(DocumentNodeType.dnRow); 5566if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 6816DocumentNode dnCell = dn.GetParentOfType(DocumentNodeType.dnCell); 6823DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6874DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6927if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 7344DocumentNode dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
System\Windows\Documents\XamlToRtfWriter.cs (5)
1160DocumentNode dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell); 1285DocumentNode dnList = dnThis.GetParentOfType(DocumentNodeType.dnList); 1426DocumentNode dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable); 1612DocumentNode dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable); 1867bool nested = dnThis.GetParentOfType(DocumentNodeType.dnCell) != null;