114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4681return XamlNames[(int)Type]; 4688while (dn != null && dn.Type != parentType) 4703if (dn.Type == DocumentNodeType.dnTable) 4721if (dn.Type == DocumentNodeType.dnList) 4725else if (dn.Type == DocumentNodeType.dnCell) 5028if (Type == DocumentNodeType.dnImage) 5035if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5055switch (Type) 5102switch (Type) 5363if (Type == DocumentNodeType.dnImage) 5370if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5460if (Type != DocumentNodeType.dnParagraph) 5494if (Type == DocumentNodeType.dnTable) 5503if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5518if (Type == DocumentNodeType.dnRow) 5527if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5542if (Type == DocumentNodeType.dnCell) 5560if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5574Debug.Assert(Type == DocumentNodeType.dnTable); 5760if (Type == DocumentNodeType.dnFieldBegin) 5782if (Type == DocumentNodeType.dnFieldEnd) 5881if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5886if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6037if (Type == DocumentNodeType.dnTable) 6046else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6054switch (dnPa.Type) 6314return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6356|| dnn.Type == DocumentNodeType.dnHyperlink 6378else if (dn.Type == DocumentNodeType.dnListItem) 6383else if (dn.Type == DocumentNodeType.dnList) 6388else if (dn.Type == DocumentNodeType.dnTable) 6395else if (dn.Type == DocumentNodeType.dnRow) 6632switch (dn.Type) 6635Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6638Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6641Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6644Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6676if (dn.Type == documentNodeType) 6682else if (dn.Type == DocumentNodeType.dnShape) 6728if (dn.Type == DocumentNodeType.dnTable 6729|| dn.Type == DocumentNodeType.dnTableBody 6730|| dn.Type == DocumentNodeType.dnRow 6731|| dn.Type == DocumentNodeType.dnCell) 6733return dn.Type; 6737else if (dn.Type == DocumentNodeType.dnShape) 6760if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6770if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6796if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6801if (dn.Type == DocumentNodeType.dnListItem) 6821if (dnList.Type == DocumentNodeType.dnList) 6858if (dn.Type == DocumentNodeType.dnListItem) 6870if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6893if (dn.Type == DocumentNodeType.dnCell) 6898else if (dn.Type == DocumentNodeType.dnTable 6899|| dn.Type == DocumentNodeType.dnTableBody 6900|| dn.Type == DocumentNodeType.dnRow) 6914if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 6950if (dn.Type == documentNodeType) 6956else if (dn.Type == DocumentNodeType.dnShape) 6985if (dn.Type == dnType && !dn.IsMatched) 7201if (ddn.Type == DocumentNodeType.dnParagraph) 7218if (ddn.Type == DocumentNodeType.dnParagraph) 7241if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7261if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 7948if (documentNode.Type == DocumentNodeType.dnParagraph || 7949documentNode.Type == DocumentNodeType.dnList || 7950documentNode.Type == DocumentNodeType.dnTable) 8050if (dn.Type == DocumentNodeType.dnFieldBegin) 8065else if (dn.Type == DocumentNodeType.dnFieldEnd) 8105if (dnChild.Type == DocumentNodeType.dnText) 8156if (dnImage.Type == DocumentNodeType.dnImage) 8194if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8203else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8210if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8238if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9816else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 11079Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11292if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11494if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11505if (dnTop == null || dnTop.Type != DocumentNodeType.dnText)
System\Windows\Documents\XamlToRtfWriter.cs (27)
265switch (dn.Type) 362if (dn.Type == DocumentNodeType.dnParagraph) 370if (dnParent.Type == DocumentNodeType.dnCell) 374if (dnParent.Type == DocumentNodeType.dnListItem || dnParent.Type == DocumentNodeType.dnList) 425switch (dn.Type) 467if (dn.Type == DocumentNodeType.dnParagraph) 476if (dnParent.Type == DocumentNodeType.dnCell) 676switch (documentNode.Type) 835if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 862if (documentNode.Type == DocumentNodeType.dnImage) 884if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 911if (documentNodeChild.Parent == documentNode && documentNodeChild.Type == DocumentNodeType.dnImage) 918if (documentNode.Type == DocumentNodeType.dnBlockUIContainer) 1233bool isTopLevelParagraph = dnThis.Type == DocumentNodeType.dnParagraph && 1235dnThis.Parent.Type == DocumentNodeType.dnSection && 1687if (dnChildTable.Type == DocumentNodeType.dnTable) 1709if (dnChild.Type == DocumentNodeType.dnRow) 1725else if (dnChild.Type == DocumentNodeType.dnTable) 1872switch (dnThis.Type) 1931if (dnThis.Type != DocumentNodeType.dnRow) 1948switch (dnThis.Type) 2948else if (documentNode.Type == DocumentNodeType.dnTable) 2960if (documentNode.Type == DocumentNodeType.dnList) 3022if (documentNode.Type == DocumentNodeType.dnCell) 3036if (documentNode.Type == DocumentNodeType.dnCell) 3050if (documentNode.Type == DocumentNodeType.dnTable)