114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4678
return XamlNames[(int)
Type
];
4685
while (dn != null && dn.
Type
!= parentType)
4700
if (dn.
Type
== DocumentNodeType.dnTable)
4718
if (dn.
Type
== DocumentNodeType.dnList)
4722
else if (dn.
Type
== DocumentNodeType.dnCell)
5025
if (
Type
== DocumentNodeType.dnImage)
5032
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5052
switch (
Type
)
5099
switch (
Type
)
5360
if (
Type
== DocumentNodeType.dnImage)
5367
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5457
if (
Type
!= DocumentNodeType.dnParagraph)
5491
if (
Type
== DocumentNodeType.dnTable)
5500
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5515
if (
Type
== DocumentNodeType.dnRow)
5524
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5539
if (
Type
== DocumentNodeType.dnCell)
5557
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5571
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5761
if (
Type
== DocumentNodeType.dnFieldBegin)
5783
if (
Type
== DocumentNodeType.dnFieldEnd)
5882
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5887
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6038
if (
Type
== DocumentNodeType.dnTable)
6047
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6055
switch (dnPa.
Type
)
6315
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6357
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6381
else if (dn.
Type
== DocumentNodeType.dnListItem)
6386
else if (dn.
Type
== DocumentNodeType.dnList)
6391
else if (dn.
Type
== DocumentNodeType.dnTable)
6398
else if (dn.
Type
== DocumentNodeType.dnRow)
6635
switch (dn.
Type
)
6638
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6641
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6644
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6647
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6679
if (dn.
Type
== documentNodeType)
6685
else if (dn.
Type
== DocumentNodeType.dnShape)
6731
if (dn.
Type
== DocumentNodeType.dnTable
6732
|| dn.
Type
== DocumentNodeType.dnTableBody
6733
|| dn.
Type
== DocumentNodeType.dnRow
6734
|| dn.
Type
== DocumentNodeType.dnCell)
6736
return dn.
Type
;
6740
else if (dn.
Type
== DocumentNodeType.dnShape)
6763
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6773
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6799
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6804
if (dn.
Type
== DocumentNodeType.dnListItem)
6824
if (dnList.
Type
== DocumentNodeType.dnList)
6862
if (dn.
Type
== DocumentNodeType.dnListItem)
6874
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6897
if (dn.
Type
== DocumentNodeType.dnCell)
6902
else if (dn.
Type
== DocumentNodeType.dnTable
6903
|| dn.
Type
== DocumentNodeType.dnTableBody
6904
|| dn.
Type
== DocumentNodeType.dnRow)
6918
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
6954
if (dn.
Type
== documentNodeType)
6960
else if (dn.
Type
== DocumentNodeType.dnShape)
6989
if (dn.
Type
== dnType && !dn.IsMatched)
7205
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7222
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7245
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7265
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
7954
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
7955
documentNode.
Type
== DocumentNodeType.dnList ||
7956
documentNode.
Type
== DocumentNodeType.dnTable)
8056
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8071
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8111
if (dnChild.
Type
== DocumentNodeType.dnText)
8162
if (dnImage.
Type
== DocumentNodeType.dnImage)
8200
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8209
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8216
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8244
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9825
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
10975
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11188
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11390
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11401
if (dnTop == null || dnTop.
Type
!= DocumentNodeType.dnText)
System\Windows\Documents\XamlToRtfWriter.cs (27)
263
switch (dn.
Type
)
360
if (dn.
Type
== DocumentNodeType.dnParagraph)
368
if (dnParent.
Type
== DocumentNodeType.dnCell)
372
if (dnParent.
Type
== DocumentNodeType.dnListItem || dnParent.
Type
== DocumentNodeType.dnList)
423
switch (dn.
Type
)
465
if (dn.
Type
== DocumentNodeType.dnParagraph)
474
if (dnParent.
Type
== DocumentNodeType.dnCell)
674
switch (documentNode.
Type
)
833
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
860
if (documentNode.
Type
== DocumentNodeType.dnImage)
882
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
909
if (documentNodeChild.Parent == documentNode && documentNodeChild.
Type
== DocumentNodeType.dnImage)
916
if (documentNode.
Type
== DocumentNodeType.dnBlockUIContainer)
1231
bool isTopLevelParagraph = dnThis.
Type
== DocumentNodeType.dnParagraph &&
1233
dnThis.Parent.
Type
== DocumentNodeType.dnSection &&
1685
if (dnChildTable.
Type
== DocumentNodeType.dnTable)
1707
if (dnChild.
Type
== DocumentNodeType.dnRow)
1723
else if (dnChild.
Type
== DocumentNodeType.dnTable)
1870
switch (dnThis.
Type
)
1929
if (dnThis.
Type
!= DocumentNodeType.dnRow)
1946
switch (dnThis.
Type
)
2946
else if (documentNode.
Type
== DocumentNodeType.dnTable)
2958
if (documentNode.
Type
== DocumentNodeType.dnList)
3020
if (documentNode.
Type
== DocumentNodeType.dnCell)
3034
if (documentNode.
Type
== DocumentNodeType.dnCell)
3048
if (documentNode.
Type
== DocumentNodeType.dnTable)