114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4680
return XamlNames[(int)
Type
];
4687
while (dn != null && dn.
Type
!= parentType)
4702
if (dn.
Type
== DocumentNodeType.dnTable)
4720
if (dn.
Type
== DocumentNodeType.dnList)
4724
else if (dn.
Type
== DocumentNodeType.dnCell)
5027
if (
Type
== DocumentNodeType.dnImage)
5034
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5054
switch (
Type
)
5101
switch (
Type
)
5362
if (
Type
== DocumentNodeType.dnImage)
5369
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5459
if (
Type
!= DocumentNodeType.dnParagraph)
5493
if (
Type
== DocumentNodeType.dnTable)
5502
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5517
if (
Type
== DocumentNodeType.dnRow)
5526
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5541
if (
Type
== DocumentNodeType.dnCell)
5559
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5573
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5759
if (
Type
== DocumentNodeType.dnFieldBegin)
5781
if (
Type
== DocumentNodeType.dnFieldEnd)
5880
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5885
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6036
if (
Type
== DocumentNodeType.dnTable)
6045
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6053
switch (dnPa.
Type
)
6313
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6355
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6377
else if (dn.
Type
== DocumentNodeType.dnListItem)
6382
else if (dn.
Type
== DocumentNodeType.dnList)
6387
else if (dn.
Type
== DocumentNodeType.dnTable)
6394
else if (dn.
Type
== DocumentNodeType.dnRow)
6631
switch (dn.
Type
)
6634
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6637
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6640
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6643
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6675
if (dn.
Type
== documentNodeType)
6681
else if (dn.
Type
== DocumentNodeType.dnShape)
6727
if (dn.
Type
== DocumentNodeType.dnTable
6728
|| dn.
Type
== DocumentNodeType.dnTableBody
6729
|| dn.
Type
== DocumentNodeType.dnRow
6730
|| dn.
Type
== DocumentNodeType.dnCell)
6732
return dn.
Type
;
6736
else if (dn.
Type
== DocumentNodeType.dnShape)
6759
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6769
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6795
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6800
if (dn.
Type
== DocumentNodeType.dnListItem)
6820
if (dnList.
Type
== DocumentNodeType.dnList)
6857
if (dn.
Type
== DocumentNodeType.dnListItem)
6869
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6892
if (dn.
Type
== DocumentNodeType.dnCell)
6897
else if (dn.
Type
== DocumentNodeType.dnTable
6898
|| dn.
Type
== DocumentNodeType.dnTableBody
6899
|| dn.
Type
== DocumentNodeType.dnRow)
6913
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
6949
if (dn.
Type
== documentNodeType)
6955
else if (dn.
Type
== DocumentNodeType.dnShape)
6984
if (dn.
Type
== dnType && !dn.IsMatched)
7200
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7217
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7240
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7260
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
7947
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
7948
documentNode.
Type
== DocumentNodeType.dnList ||
7949
documentNode.
Type
== DocumentNodeType.dnTable)
8049
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8064
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8104
if (dnChild.
Type
== DocumentNodeType.dnText)
8155
if (dnImage.
Type
== DocumentNodeType.dnImage)
8193
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8202
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8209
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8237
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9815
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
11078
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11291
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11493
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11504
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)