114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4679
return XamlNames[(int)
Type
];
4686
while (dn != null && dn.
Type
!= parentType)
4701
if (dn.
Type
== DocumentNodeType.dnTable)
4719
if (dn.
Type
== DocumentNodeType.dnList)
4723
else if (dn.
Type
== DocumentNodeType.dnCell)
5026
if (
Type
== DocumentNodeType.dnImage)
5033
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5053
switch (
Type
)
5100
switch (
Type
)
5361
if (
Type
== DocumentNodeType.dnImage)
5368
if (
Type
== DocumentNodeType.dnText ||
Type
== DocumentNodeType.dnInline)
5458
if (
Type
!= DocumentNodeType.dnParagraph)
5492
if (
Type
== DocumentNodeType.dnTable)
5501
if (dnRow.
Type
== DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable))
5516
if (
Type
== DocumentNodeType.dnRow)
5525
if (dnCell.
Type
== DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow))
5540
if (
Type
== DocumentNodeType.dnCell)
5558
if (dnCell.
Type
== DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow)
5572
Debug.Assert(
Type
== DocumentNodeType.dnTable);
5758
if (
Type
== DocumentNodeType.dnFieldBegin)
5780
if (
Type
== DocumentNodeType.dnFieldEnd)
5879
if (dnPa != null && dnPa.
Type
== DocumentNodeType.dnHyperlink)
5884
if (
Type
== DocumentNodeType.dnParagraph || dnPa == null)
6035
if (
Type
== DocumentNodeType.dnTable)
6044
else if (
Type
== DocumentNodeType.dnList ||
Type
== DocumentNodeType.dnParagraph)
6052
switch (dnPa.
Type
)
6312
return ((Count > 0) && (EntryAt(Count - 1).
Type
== documentNodeType));
6354
|| dnn.
Type
== DocumentNodeType.dnHyperlink
6376
else if (dn.
Type
== DocumentNodeType.dnListItem)
6381
else if (dn.
Type
== DocumentNodeType.dnList)
6386
else if (dn.
Type
== DocumentNodeType.dnTable)
6393
else if (dn.
Type
== DocumentNodeType.dnRow)
6630
switch (dn.
Type
)
6633
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTable);
6636
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnTableBody);
6639
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnRow);
6642
Debug.Assert(dnPa != null && dnPa.
Type
== DocumentNodeType.dnList);
6674
if (dn.
Type
== documentNodeType)
6680
else if (dn.
Type
== DocumentNodeType.dnShape)
6726
if (dn.
Type
== DocumentNodeType.dnTable
6727
|| dn.
Type
== DocumentNodeType.dnTableBody
6728
|| dn.
Type
== DocumentNodeType.dnRow
6729
|| dn.
Type
== DocumentNodeType.dnCell)
6731
return dn.
Type
;
6735
else if (dn.
Type
== DocumentNodeType.dnShape)
6758
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnShape)
6768
if (dn.IsPending && dn.
Type
== DocumentNodeType.dnList)
6794
if (dn.
Type
== DocumentNodeType.dnCell || dn.
Type
== DocumentNodeType.dnTable)
6799
if (dn.
Type
== DocumentNodeType.dnListItem)
6819
if (dnList.
Type
== DocumentNodeType.dnList)
6856
if (dn.
Type
== DocumentNodeType.dnListItem)
6868
if (dnPa.
Type
== DocumentNodeType.dnList || dnPa.
Type
== DocumentNodeType.dnListItem)
6891
if (dn.
Type
== DocumentNodeType.dnCell)
6896
else if (dn.
Type
== DocumentNodeType.dnTable
6897
|| dn.
Type
== DocumentNodeType.dnTableBody
6898
|| dn.
Type
== DocumentNodeType.dnRow)
6912
if (ddn.
Type
== DocumentNodeType.dnCell && ddn.GetParentOfType(dn.
Type
) == dn)
6948
if (dn.
Type
== documentNodeType)
6954
else if (dn.
Type
== DocumentNodeType.dnShape)
6983
if (dn.
Type
== dnType && !dn.IsMatched)
7199
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7216
if (ddn.
Type
== DocumentNodeType.dnParagraph)
7239
if (ddn.
Type
== DocumentNodeType.dnParagraph && ddn.IsNonEmpty)
7259
if (ddn.
Type
== DocumentNodeType.dnList || ddn.
Type
== DocumentNodeType.dnListItem)
7946
if (documentNode.
Type
== DocumentNodeType.dnParagraph ||
7947
documentNode.
Type
== DocumentNodeType.dnList ||
7948
documentNode.
Type
== DocumentNodeType.dnTable)
8048
if (dn.
Type
== DocumentNodeType.dnFieldBegin)
8063
else if (dn.
Type
== DocumentNodeType.dnFieldEnd)
8103
if (dnChild.
Type
== DocumentNodeType.dnText)
8154
if (dnImage.
Type
== DocumentNodeType.dnImage)
8192
if (dnInstruction.
Type
== DocumentNodeType.dnText || nChildCount != 0)
8201
else if (dnInstruction.
Type
== DocumentNodeType.dnHyperlink)
8208
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
8236
if (dn.
Type
== DocumentNodeType.dnParagraph && !dn.IsTerminated)
9814
else if (dn.
Type
== DocumentNodeType.dnListText && !dn.IsPending
11077
Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).
Type
== DocumentNodeType.dnParagraph);
11290
if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).
Type
== DocumentNodeType.dnListItem)
11492
if (dnTop != null && (dnTop.
Type
== DocumentNodeType.dnText))
11503
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)