114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4687
return XamlNames[(int)
Type
];
4694
while (dn != null && dn.
Type
!= parentType)
4709
if (dn.
Type
== DocumentNodeType.dnTable)
4727
if (dn.
Type
== DocumentNodeType.dnList)
4731
else if (dn.
Type
== DocumentNodeType.dnCell)
5034
if (
Type
== DocumentNodeType.dnImage)
5041
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5061
switch (
Type
)
5108
switch (
Type
)
5369
if (
Type
== DocumentNodeType.dnImage)
5376
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5466
if (
Type
!= DocumentNodeType.dnParagraph)
5500
if (
Type
== DocumentNodeType.dnTable)
5509
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5524
if (
Type
== DocumentNodeType.dnRow)
5533
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5548
if (
Type
== DocumentNodeType.dnCell)
5566
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5580
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5770
if (
Type
== DocumentNodeType.dnFieldBegin)
5792
if (
Type
== DocumentNodeType.dnFieldEnd)
5891
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5896
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6047
if (
Type
== DocumentNodeType.dnTable)
6056
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6064
switch (dnPa.
Type
)
6324
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6366
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6390
else if (dn.
Type
== DocumentNodeType.dnListItem)
6395
else if (dn.
Type
== DocumentNodeType.dnList)
6400
else if (dn.
Type
== DocumentNodeType.dnTable)
6407
else if (dn.
Type
== DocumentNodeType.dnRow)
6644
switch (dn.
Type
)
6647
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6650
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6653
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6656
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6688
if (dn.
Type
== documentNodeType)
6694
else if (dn.
Type
== DocumentNodeType.dnShape)
6740
if (dn.
Type
== DocumentNodeType.dnTable
6741
|| dn.
Type
== DocumentNodeType.dnTableBody
6742
|| dn.
Type
== DocumentNodeType.dnRow
6743
|| dn.
Type
== DocumentNodeType.dnCell)
6745
return dn.
Type
;
6749
else if (dn.
Type
== DocumentNodeType.dnShape)
6772
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6782
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6808
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6813
if (dn.
Type
== DocumentNodeType.dnListItem)
6833
if (dnList.
Type
== DocumentNodeType.dnList)
6871
if (dn.
Type
== DocumentNodeType.dnListItem)
6883
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6906
if (dn.
Type
== DocumentNodeType.dnCell)
6911
else if (dn.
Type
== DocumentNodeType.dnTable
6912
|| dn.
Type
== DocumentNodeType.dnTableBody
6913
|| dn.
Type
== DocumentNodeType.dnRow)
6927
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
6963
if (dn.
Type
== documentNodeType)
6969
else if (dn.
Type
== DocumentNodeType.dnShape)
6998
if (dn.
Type
== dnType && !dn.IsMatched)
7214
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7231
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7254
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7274
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
7963
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
7964
documentNode.
Type
== DocumentNodeType.dnList ||
7965
documentNode.
Type
== DocumentNodeType.dnTable)
8065
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8080
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8120
if (dnChild.
Type
== DocumentNodeType.dnText)
8171
if (dnImage.
Type
== DocumentNodeType.dnImage)
8209
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8218
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8225
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8253
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9840
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
11107
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11320
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11522
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11533
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)