114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4688
return XamlNames[(int)
Type
];
4695
while (dn != null && dn.
Type
!= parentType)
4710
if (dn.
Type
== DocumentNodeType.dnTable)
4728
if (dn.
Type
== DocumentNodeType.dnList)
4732
else if (dn.
Type
== DocumentNodeType.dnCell)
5035
if (
Type
== DocumentNodeType.dnImage)
5042
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5062
switch (
Type
)
5109
switch (
Type
)
5370
if (
Type
== DocumentNodeType.dnImage)
5377
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5467
if (
Type
!= DocumentNodeType.dnParagraph)
5501
if (
Type
== DocumentNodeType.dnTable)
5510
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5525
if (
Type
== DocumentNodeType.dnRow)
5534
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5549
if (
Type
== DocumentNodeType.dnCell)
5567
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5581
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5771
if (
Type
== DocumentNodeType.dnFieldBegin)
5793
if (
Type
== DocumentNodeType.dnFieldEnd)
5892
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5897
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6048
if (
Type
== DocumentNodeType.dnTable)
6057
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6065
switch (dnPa.
Type
)
6325
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6367
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6391
else if (dn.
Type
== DocumentNodeType.dnListItem)
6396
else if (dn.
Type
== DocumentNodeType.dnList)
6401
else if (dn.
Type
== DocumentNodeType.dnTable)
6408
else if (dn.
Type
== DocumentNodeType.dnRow)
6645
switch (dn.
Type
)
6648
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6651
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6654
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6657
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6689
if (dn.
Type
== documentNodeType)
6695
else if (dn.
Type
== DocumentNodeType.dnShape)
6741
if (dn.
Type
== DocumentNodeType.dnTable
6742
|| dn.
Type
== DocumentNodeType.dnTableBody
6743
|| dn.
Type
== DocumentNodeType.dnRow
6744
|| dn.
Type
== DocumentNodeType.dnCell)
6746
return dn.
Type
;
6750
else if (dn.
Type
== DocumentNodeType.dnShape)
6773
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6783
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6809
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6814
if (dn.
Type
== DocumentNodeType.dnListItem)
6834
if (dnList.
Type
== DocumentNodeType.dnList)
6872
if (dn.
Type
== DocumentNodeType.dnListItem)
6884
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6907
if (dn.
Type
== DocumentNodeType.dnCell)
6912
else if (dn.
Type
== DocumentNodeType.dnTable
6913
|| dn.
Type
== DocumentNodeType.dnTableBody
6914
|| dn.
Type
== DocumentNodeType.dnRow)
6928
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
6964
if (dn.
Type
== documentNodeType)
6970
else if (dn.
Type
== DocumentNodeType.dnShape)
6999
if (dn.
Type
== dnType && !dn.IsMatched)
7215
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7232
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7255
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7275
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
7964
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
7965
documentNode.
Type
== DocumentNodeType.dnList ||
7966
documentNode.
Type
== DocumentNodeType.dnTable)
8066
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8081
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8121
if (dnChild.
Type
== DocumentNodeType.dnText)
8172
if (dnImage.
Type
== DocumentNodeType.dnImage)
8210
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8219
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8226
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8254
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9841
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
11108
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11321
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11523
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11534
if (dnTop == null || dnTop.
Type
!= DocumentNodeType.dnText)
System\Windows\Documents\XamlToRtfWriter.cs (27)
264
switch (dn.
Type
)
361
if (dn.
Type
== DocumentNodeType.dnParagraph)
369
if (dnParent.
Type
== DocumentNodeType.dnCell)
373
if (dnParent.
Type
== DocumentNodeType.dnListItem || dnParent.
Type
== DocumentNodeType.dnList)
424
switch (dn.
Type
)
466
if (dn.
Type
== DocumentNodeType.dnParagraph)
475
if (dnParent.
Type
== DocumentNodeType.dnCell)
675
switch (documentNode.
Type
)
834
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
861
if (documentNode.
Type
== DocumentNodeType.dnImage)
883
if (documentNode.
Type
== DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
910
if (documentNodeChild.Parent == documentNode && documentNodeChild.
Type
== DocumentNodeType.dnImage)
917
if (documentNode.
Type
== DocumentNodeType.dnBlockUIContainer)
1232
bool isTopLevelParagraph = dnThis.
Type
== DocumentNodeType.dnParagraph &&
1234
dnThis.Parent.
Type
== DocumentNodeType.dnSection &&
1686
if (dnChildTable.
Type
== DocumentNodeType.dnTable)
1708
if (dnChild.
Type
== DocumentNodeType.dnRow)
1724
else if (dnChild.
Type
== DocumentNodeType.dnTable)
1871
switch (dnThis.
Type
)
1930
if (dnThis.
Type
!= DocumentNodeType.dnRow)
1947
switch (dnThis.
Type
)
2947
else if (documentNode.
Type
== DocumentNodeType.dnTable)
2959
if (documentNode.
Type
== DocumentNodeType.dnList)
3021
if (documentNode.
Type
== DocumentNodeType.dnCell)
3035
if (documentNode.
Type
== DocumentNodeType.dnCell)
3049
if (documentNode.
Type
== DocumentNodeType.dnTable)