16 references to GetParentOfType
PresentationFramework (16)
System\Windows\Documents\RtfToXamlReader.cs (11)
5141
DocumentNode dnRow =
GetParentOfType
(DocumentNodeType.dnRow);
5462
DocumentNode dnCell =
GetParentOfType
(DocumentNodeType.dnCell);
5502
if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.
GetParentOfType
(DocumentNodeType.dnTable))
5526
if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.
GetParentOfType
(DocumentNodeType.dnRow))
5543
DocumentNode dnRow = this.
GetParentOfType
(DocumentNodeType.dnRow);
5559
if (dnCell.Type == DocumentNodeType.dnCell && dnCell.
GetParentOfType
(DocumentNodeType.dnRow) == dnRow)
6803
DocumentNode dnCell = dn.
GetParentOfType
(DocumentNodeType.dnCell);
6810
DocumentNode dnShape = dn.
GetParentOfType
(DocumentNodeType.dnShape);
6860
DocumentNode dnShape = dn.
GetParentOfType
(DocumentNodeType.dnShape);
6913
if (ddn.Type == DocumentNodeType.dnCell && ddn.
GetParentOfType
(dn.Type) == dn)
7330
DocumentNode dnTable = dn.
GetParentOfType
(DocumentNodeType.dnTable);
System\Windows\Documents\XamlToRtfWriter.cs (5)
1162
DocumentNode dnCell = dnThis.
GetParentOfType
(DocumentNodeType.dnCell);
1287
DocumentNode dnList = dnThis.
GetParentOfType
(DocumentNodeType.dnList);
1428
DocumentNode dnTable = dnRow.
GetParentOfType
(DocumentNodeType.dnTable);
1614
DocumentNode dnTable = dnCell.
GetParentOfType
(DocumentNodeType.dnTable);
1869
bool nested = dnThis.
GetParentOfType
(DocumentNodeType.dnCell) != null;