114 references to Type
PresentationFramework (114)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (87)
4740
return XamlNames[(int)
Type
];
4747
while (dn != null && dn.
Type
!= parentType)
4762
if (dn.
Type
== DocumentNodeType.dnTable)
4780
if (dn.
Type
== DocumentNodeType.dnList)
4784
else if (dn.
Type
== DocumentNodeType.dnCell)
5089
if (
Type
== DocumentNodeType.dnImage)
5096
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5116
switch (
Type
)
5163
switch (
Type
)
5424
if (
Type
== DocumentNodeType.dnImage)
5431
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5540
if (
Type
!= DocumentNodeType.dnParagraph)
5574
if (
Type
== DocumentNodeType.dnTable)
5583
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5598
if (
Type
== DocumentNodeType.dnRow)
5607
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5622
if (
Type
== DocumentNodeType.dnCell)
5640
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5654
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5840
if (
Type
== DocumentNodeType.dnFieldBegin)
5862
if (
Type
== DocumentNodeType.dnFieldEnd)
5961
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5966
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6117
if (
Type
== DocumentNodeType.dnTable)
6126
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6134
switch (dnPa.
Type
)
6394
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6436
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6459
else if (dn.
Type
== DocumentNodeType.dnListItem)
6464
else if (dn.
Type
== DocumentNodeType.dnList)
6469
else if (dn.
Type
== DocumentNodeType.dnTable)
6476
else if (dn.
Type
== DocumentNodeType.dnRow)
6713
switch (dn.
Type
)
6716
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6719
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6722
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6725
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6757
if (dn.
Type
== documentNodeType)
6763
else if (dn.
Type
== DocumentNodeType.dnShape)
6809
if (dn.
Type
== DocumentNodeType.dnTable
6810
|| dn.
Type
== DocumentNodeType.dnTableBody
6811
|| dn.
Type
== DocumentNodeType.dnRow
6812
|| dn.
Type
== DocumentNodeType.dnCell)
6814
return dn.
Type
;
6818
else if (dn.
Type
== DocumentNodeType.dnShape)
6841
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6851
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6877
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6882
if (dn.
Type
== DocumentNodeType.dnListItem)
6902
if (dnList.
Type
== DocumentNodeType.dnList)
6939
if (dn.
Type
== DocumentNodeType.dnListItem)
6951
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6974
if (dn.
Type
== DocumentNodeType.dnCell)
6979
else if (dn.
Type
== DocumentNodeType.dnTable
6980
|| dn.
Type
== DocumentNodeType.dnTableBody
6981
|| dn.
Type
== DocumentNodeType.dnRow)
6995
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
7031
if (dn.
Type
== documentNodeType)
7037
else if (dn.
Type
== DocumentNodeType.dnShape)
7066
if (dn.
Type
== dnType && !dn.IsMatched)
7282
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7299
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7322
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7342
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
8029
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
8030
documentNode.
Type
== DocumentNodeType.dnList ||
8031
documentNode.
Type
== DocumentNodeType.dnTable)
8131
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8146
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8186
if (dnChild.
Type
== DocumentNodeType.dnText)
8237
if (dnImage.
Type
== DocumentNodeType.dnImage)
8275
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8284
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8291
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8322
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9907
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
11172
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11385
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11592
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11603
if (dnTop == null || dnTop.
Type
!= DocumentNodeType.dnText)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (27)
266
switch (dn.
Type
)
363
if (dn.
Type
== DocumentNodeType.dnParagraph)
371
if (dnParent.
Type
== DocumentNodeType.dnCell)
375
if (dnParent.
Type
== DocumentNodeType.dnListItem || dnParent.
Type
== DocumentNodeType.dnList)
426
switch (dn.
Type
)
468
if (dn.
Type
== DocumentNodeType.dnParagraph)
477
if (dnParent.
Type
== DocumentNodeType.dnCell)
677
switch (documentNode.
Type
)
836
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
863
if (documentNode.
Type
== DocumentNodeType.dnImage)
885
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
912
if (documentNodeChild.Parent == documentNode && documentNodeChild.
Type
== DocumentNodeType.dnImage)
919
if (documentNode.
Type
== DocumentNodeType.dnBlockUIContainer)
1235
bool isTopLevelParagraph = dnThis.
Type
== DocumentNodeType.dnParagraph &&
1237
dnThis.Parent.
Type
== DocumentNodeType.dnSection &&
1689
if (dnChildTable.
Type
== DocumentNodeType.dnTable)
1711
if (dnChild.
Type
== DocumentNodeType.dnRow)
1727
else if (dnChild.
Type
== DocumentNodeType.dnTable)
1874
switch (dnThis.
Type
)
1933
if (dnThis.
Type
!= DocumentNodeType.dnRow)
1950
switch (dnThis.
Type
)
2954
else if (documentNode.
Type
== DocumentNodeType.dnTable)
2966
if (documentNode.
Type
== DocumentNodeType.dnList)
3028
if (documentNode.
Type
== DocumentNodeType.dnCell)
3042
if (documentNode.
Type
== DocumentNodeType.dnCell)
3056
if (documentNode.
Type
== DocumentNodeType.dnTable)