114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4681
return XamlNames[(int)
Type
];
4688
while (dn != null && dn.
Type
!= parentType)
4703
if (dn.
Type
== DocumentNodeType.dnTable)
4721
if (dn.
Type
== DocumentNodeType.dnList)
4725
else if (dn.
Type
== DocumentNodeType.dnCell)
5028
if (
Type
== DocumentNodeType.dnImage)
5035
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5055
switch (
Type
)
5102
switch (
Type
)
5363
if (
Type
== DocumentNodeType.dnImage)
5370
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5460
if (
Type
!= DocumentNodeType.dnParagraph)
5494
if (
Type
== DocumentNodeType.dnTable)
5503
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5518
if (
Type
== DocumentNodeType.dnRow)
5527
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5542
if (
Type
== DocumentNodeType.dnCell)
5560
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5574
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5760
if (
Type
== DocumentNodeType.dnFieldBegin)
5782
if (
Type
== DocumentNodeType.dnFieldEnd)
5881
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5886
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6037
if (
Type
== DocumentNodeType.dnTable)
6046
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6054
switch (dnPa.
Type
)
6314
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6356
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6378
else if (dn.
Type
== DocumentNodeType.dnListItem)
6383
else if (dn.
Type
== DocumentNodeType.dnList)
6388
else if (dn.
Type
== DocumentNodeType.dnTable)
6395
else if (dn.
Type
== DocumentNodeType.dnRow)
6632
switch (dn.
Type
)
6635
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6638
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6641
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6644
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6676
if (dn.
Type
== documentNodeType)
6682
else if (dn.
Type
== DocumentNodeType.dnShape)
6728
if (dn.
Type
== DocumentNodeType.dnTable
6729
|| dn.
Type
== DocumentNodeType.dnTableBody
6730
|| dn.
Type
== DocumentNodeType.dnRow
6731
|| dn.
Type
== DocumentNodeType.dnCell)
6733
return dn.
Type
;
6737
else if (dn.
Type
== DocumentNodeType.dnShape)
6760
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6770
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6796
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6801
if (dn.
Type
== DocumentNodeType.dnListItem)
6821
if (dnList.
Type
== DocumentNodeType.dnList)
6858
if (dn.
Type
== DocumentNodeType.dnListItem)
6870
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6893
if (dn.
Type
== DocumentNodeType.dnCell)
6898
else if (dn.
Type
== DocumentNodeType.dnTable
6899
|| dn.
Type
== DocumentNodeType.dnTableBody
6900
|| dn.
Type
== DocumentNodeType.dnRow)
6914
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
6950
if (dn.
Type
== documentNodeType)
6956
else if (dn.
Type
== DocumentNodeType.dnShape)
6985
if (dn.
Type
== dnType && !dn.IsMatched)
7201
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7218
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7241
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7261
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
7948
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
7949
documentNode.
Type
== DocumentNodeType.dnList ||
7950
documentNode.
Type
== DocumentNodeType.dnTable)
8050
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8065
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8105
if (dnChild.
Type
== DocumentNodeType.dnText)
8156
if (dnImage.
Type
== DocumentNodeType.dnImage)
8194
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8203
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8210
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8238
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9816
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
11079
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11292
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11494
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11505
if (dnTop == null || dnTop.
Type
!= DocumentNodeType.dnText)
System\Windows\Documents\XamlToRtfWriter.cs (27)
265
switch (dn.
Type
)
362
if (dn.
Type
== DocumentNodeType.dnParagraph)
370
if (dnParent.
Type
== DocumentNodeType.dnCell)
374
if (dnParent.
Type
== DocumentNodeType.dnListItem || dnParent.
Type
== DocumentNodeType.dnList)
425
switch (dn.
Type
)
467
if (dn.
Type
== DocumentNodeType.dnParagraph)
476
if (dnParent.
Type
== DocumentNodeType.dnCell)
676
switch (documentNode.
Type
)
835
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
862
if (documentNode.
Type
== DocumentNodeType.dnImage)
884
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
911
if (documentNodeChild.Parent == documentNode && documentNodeChild.
Type
== DocumentNodeType.dnImage)
918
if (documentNode.
Type
== DocumentNodeType.dnBlockUIContainer)
1233
bool isTopLevelParagraph = dnThis.
Type
== DocumentNodeType.dnParagraph &&
1235
dnThis.Parent.
Type
== DocumentNodeType.dnSection &&
1687
if (dnChildTable.
Type
== DocumentNodeType.dnTable)
1709
if (dnChild.
Type
== DocumentNodeType.dnRow)
1725
else if (dnChild.
Type
== DocumentNodeType.dnTable)
1872
switch (dnThis.
Type
)
1931
if (dnThis.
Type
!= DocumentNodeType.dnRow)
1948
switch (dnThis.
Type
)
2948
else if (documentNode.
Type
== DocumentNodeType.dnTable)
2960
if (documentNode.
Type
== DocumentNodeType.dnList)
3022
if (documentNode.
Type
== DocumentNodeType.dnCell)
3036
if (documentNode.
Type
== DocumentNodeType.dnCell)
3050
if (documentNode.
Type
== DocumentNodeType.dnTable)