114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4680return XamlNames[(int)Type]; 4687while (dn != null && dn.Type != parentType) 4702if (dn.Type == DocumentNodeType.dnTable) 4720if (dn.Type == DocumentNodeType.dnList) 4724else if (dn.Type == DocumentNodeType.dnCell) 5027if (Type == DocumentNodeType.dnImage) 5034if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5054switch (Type) 5101switch (Type) 5362if (Type == DocumentNodeType.dnImage) 5369if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5459if (Type != DocumentNodeType.dnParagraph) 5493if (Type == DocumentNodeType.dnTable) 5502if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5517if (Type == DocumentNodeType.dnRow) 5526if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5541if (Type == DocumentNodeType.dnCell) 5559if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5573Debug.Assert(Type == DocumentNodeType.dnTable); 5759if (Type == DocumentNodeType.dnFieldBegin) 5781if (Type == DocumentNodeType.dnFieldEnd) 5880if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5885if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6036if (Type == DocumentNodeType.dnTable) 6045else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6053switch (dnPa.Type) 6313return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6355|| dnn.Type == DocumentNodeType.dnHyperlink 6377else if (dn.Type == DocumentNodeType.dnListItem) 6382else if (dn.Type == DocumentNodeType.dnList) 6387else if (dn.Type == DocumentNodeType.dnTable) 6394else if (dn.Type == DocumentNodeType.dnRow) 6631switch (dn.Type) 6634Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6637Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6640Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6643Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6675if (dn.Type == documentNodeType) 6681else if (dn.Type == DocumentNodeType.dnShape) 6727if (dn.Type == DocumentNodeType.dnTable 6728|| dn.Type == DocumentNodeType.dnTableBody 6729|| dn.Type == DocumentNodeType.dnRow 6730|| dn.Type == DocumentNodeType.dnCell) 6732return dn.Type; 6736else if (dn.Type == DocumentNodeType.dnShape) 6759if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6769if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6795if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6800if (dn.Type == DocumentNodeType.dnListItem) 6820if (dnList.Type == DocumentNodeType.dnList) 6857if (dn.Type == DocumentNodeType.dnListItem) 6869if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6892if (dn.Type == DocumentNodeType.dnCell) 6897else if (dn.Type == DocumentNodeType.dnTable 6898|| dn.Type == DocumentNodeType.dnTableBody 6899|| dn.Type == DocumentNodeType.dnRow) 6913if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 6949if (dn.Type == documentNodeType) 6955else if (dn.Type == DocumentNodeType.dnShape) 6984if (dn.Type == dnType && !dn.IsMatched) 7200if (ddn.Type == DocumentNodeType.dnParagraph) 7217if (ddn.Type == DocumentNodeType.dnParagraph) 7240if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7260if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 7947if (documentNode.Type == DocumentNodeType.dnParagraph || 7948documentNode.Type == DocumentNodeType.dnList || 7949documentNode.Type == DocumentNodeType.dnTable) 8049if (dn.Type == DocumentNodeType.dnFieldBegin) 8064else if (dn.Type == DocumentNodeType.dnFieldEnd) 8104if (dnChild.Type == DocumentNodeType.dnText) 8155if (dnImage.Type == DocumentNodeType.dnImage) 8193if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8202else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8209if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8237if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9815else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 11078Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11291if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11493if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11504if (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)