114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4687return XamlNames[(int)Type]; 4694while (dn != null && dn.Type != parentType) 4709if (dn.Type == DocumentNodeType.dnTable) 4727if (dn.Type == DocumentNodeType.dnList) 4731else if (dn.Type == DocumentNodeType.dnCell) 5034if (Type == DocumentNodeType.dnImage) 5041if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5061switch (Type) 5108switch (Type) 5369if (Type == DocumentNodeType.dnImage) 5376if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5466if (Type != DocumentNodeType.dnParagraph) 5500if (Type == DocumentNodeType.dnTable) 5509if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5524if (Type == DocumentNodeType.dnRow) 5533if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5548if (Type == DocumentNodeType.dnCell) 5566if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5580Debug.Assert(Type == DocumentNodeType.dnTable); 5770if (Type == DocumentNodeType.dnFieldBegin) 5792if (Type == DocumentNodeType.dnFieldEnd) 5891if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5896if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6047if (Type == DocumentNodeType.dnTable) 6056else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6064switch (dnPa.Type) 6324return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6366|| dnn.Type == DocumentNodeType.dnHyperlink 6390else if (dn.Type == DocumentNodeType.dnListItem) 6395else if (dn.Type == DocumentNodeType.dnList) 6400else if (dn.Type == DocumentNodeType.dnTable) 6407else if (dn.Type == DocumentNodeType.dnRow) 6644switch (dn.Type) 6647Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6650Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6653Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6656Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6688if (dn.Type == documentNodeType) 6694else if (dn.Type == DocumentNodeType.dnShape) 6740if (dn.Type == DocumentNodeType.dnTable 6741|| dn.Type == DocumentNodeType.dnTableBody 6742|| dn.Type == DocumentNodeType.dnRow 6743|| dn.Type == DocumentNodeType.dnCell) 6745return dn.Type; 6749else if (dn.Type == DocumentNodeType.dnShape) 6772if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6782if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6808if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6813if (dn.Type == DocumentNodeType.dnListItem) 6833if (dnList.Type == DocumentNodeType.dnList) 6871if (dn.Type == DocumentNodeType.dnListItem) 6883if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6906if (dn.Type == DocumentNodeType.dnCell) 6911else if (dn.Type == DocumentNodeType.dnTable 6912|| dn.Type == DocumentNodeType.dnTableBody 6913|| dn.Type == DocumentNodeType.dnRow) 6927if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 6963if (dn.Type == documentNodeType) 6969else if (dn.Type == DocumentNodeType.dnShape) 6998if (dn.Type == dnType && !dn.IsMatched) 7214if (ddn.Type == DocumentNodeType.dnParagraph) 7231if (ddn.Type == DocumentNodeType.dnParagraph) 7254if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7274if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 7963if (documentNode.Type == DocumentNodeType.dnParagraph || 7964documentNode.Type == DocumentNodeType.dnList || 7965documentNode.Type == DocumentNodeType.dnTable) 8065if (dn.Type == DocumentNodeType.dnFieldBegin) 8080else if (dn.Type == DocumentNodeType.dnFieldEnd) 8120if (dnChild.Type == DocumentNodeType.dnText) 8171if (dnImage.Type == DocumentNodeType.dnImage) 8209if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8218else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8225if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8253if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9840else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 11107Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11320if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11522if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11533if (dnTop == null || dnTop.Type != DocumentNodeType.dnText)
System\Windows\Documents\XamlToRtfWriter.cs (27)
263switch (dn.Type) 360if (dn.Type == DocumentNodeType.dnParagraph) 368if (dnParent.Type == DocumentNodeType.dnCell) 372if (dnParent.Type == DocumentNodeType.dnListItem || dnParent.Type == DocumentNodeType.dnList) 423switch (dn.Type) 465if (dn.Type == DocumentNodeType.dnParagraph) 474if (dnParent.Type == DocumentNodeType.dnCell) 674switch (documentNode.Type) 833if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 860if (documentNode.Type == DocumentNodeType.dnImage) 882if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 909if (documentNodeChild.Parent == documentNode && documentNodeChild.Type == DocumentNodeType.dnImage) 916if (documentNode.Type == DocumentNodeType.dnBlockUIContainer) 1231bool isTopLevelParagraph = dnThis.Type == DocumentNodeType.dnParagraph && 1233dnThis.Parent.Type == DocumentNodeType.dnSection && 1685if (dnChildTable.Type == DocumentNodeType.dnTable) 1707if (dnChild.Type == DocumentNodeType.dnRow) 1723else if (dnChild.Type == DocumentNodeType.dnTable) 1870switch (dnThis.Type) 1929if (dnThis.Type != DocumentNodeType.dnRow) 1946switch (dnThis.Type) 2946else if (documentNode.Type == DocumentNodeType.dnTable) 2958if (documentNode.Type == DocumentNodeType.dnList) 3020if (documentNode.Type == DocumentNodeType.dnCell) 3034if (documentNode.Type == DocumentNodeType.dnCell) 3048if (documentNode.Type == DocumentNodeType.dnTable)