16 references to GetParentOfType
PresentationFramework (16)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (11)
5203
DocumentNode dnRow =
GetParentOfType
(DocumentNodeType.dnRow);
5543
DocumentNode dnCell =
GetParentOfType
(DocumentNodeType.dnCell);
5583
if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.
GetParentOfType
(DocumentNodeType.dnTable))
5607
if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.
GetParentOfType
(DocumentNodeType.dnRow))
5624
DocumentNode dnRow = this.
GetParentOfType
(DocumentNodeType.dnRow);
5640
if (dnCell.Type == DocumentNodeType.dnCell && dnCell.
GetParentOfType
(DocumentNodeType.dnRow) == dnRow)
6885
DocumentNode dnCell = dn.
GetParentOfType
(DocumentNodeType.dnCell);
6892
DocumentNode dnShape = dn.
GetParentOfType
(DocumentNodeType.dnShape);
6942
DocumentNode dnShape = dn.
GetParentOfType
(DocumentNodeType.dnShape);
6995
if (ddn.Type == DocumentNodeType.dnCell && ddn.
GetParentOfType
(dn.Type) == dn)
7412
DocumentNode dnTable = dn.
GetParentOfType
(DocumentNodeType.dnTable);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (5)
1163
DocumentNode dnCell = dnThis.
GetParentOfType
(DocumentNodeType.dnCell);
1289
DocumentNode dnList = dnThis.
GetParentOfType
(DocumentNodeType.dnList);
1430
DocumentNode dnTable = dnRow.
GetParentOfType
(DocumentNodeType.dnTable);
1616
DocumentNode dnTable = dnCell.
GetParentOfType
(DocumentNodeType.dnTable);
1871
bool nested = dnThis.
GetParentOfType
(DocumentNodeType.dnCell) != null;