114 references to Type
PresentationFramework (114)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (87)
4740return XamlNames[(int)Type]; 4747while (dn != null && dn.Type != parentType) 4762if (dn.Type == DocumentNodeType.dnTable) 4780if (dn.Type == DocumentNodeType.dnList) 4784else if (dn.Type == DocumentNodeType.dnCell) 5089if (Type == DocumentNodeType.dnImage) 5096if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5116switch (Type) 5163switch (Type) 5424if (Type == DocumentNodeType.dnImage) 5431if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5540if (Type != DocumentNodeType.dnParagraph) 5574if (Type == DocumentNodeType.dnTable) 5583if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5598if (Type == DocumentNodeType.dnRow) 5607if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5622if (Type == DocumentNodeType.dnCell) 5640if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5654Debug.Assert(Type == DocumentNodeType.dnTable); 5840if (Type == DocumentNodeType.dnFieldBegin) 5862if (Type == DocumentNodeType.dnFieldEnd) 5961if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5966if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6117if (Type == DocumentNodeType.dnTable) 6126else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6134switch (dnPa.Type) 6394return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6436|| dnn.Type == DocumentNodeType.dnHyperlink 6459else if (dn.Type == DocumentNodeType.dnListItem) 6464else if (dn.Type == DocumentNodeType.dnList) 6469else if (dn.Type == DocumentNodeType.dnTable) 6476else if (dn.Type == DocumentNodeType.dnRow) 6713switch (dn.Type) 6716Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6719Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6722Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6725Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6757if (dn.Type == documentNodeType) 6763else if (dn.Type == DocumentNodeType.dnShape) 6809if (dn.Type == DocumentNodeType.dnTable 6810|| dn.Type == DocumentNodeType.dnTableBody 6811|| dn.Type == DocumentNodeType.dnRow 6812|| dn.Type == DocumentNodeType.dnCell) 6814return dn.Type; 6818else if (dn.Type == DocumentNodeType.dnShape) 6841if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6851if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6877if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6882if (dn.Type == DocumentNodeType.dnListItem) 6902if (dnList.Type == DocumentNodeType.dnList) 6939if (dn.Type == DocumentNodeType.dnListItem) 6951if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6974if (dn.Type == DocumentNodeType.dnCell) 6979else if (dn.Type == DocumentNodeType.dnTable 6980|| dn.Type == DocumentNodeType.dnTableBody 6981|| dn.Type == DocumentNodeType.dnRow) 6995if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 7031if (dn.Type == documentNodeType) 7037else if (dn.Type == DocumentNodeType.dnShape) 7066if (dn.Type == dnType && !dn.IsMatched) 7282if (ddn.Type == DocumentNodeType.dnParagraph) 7299if (ddn.Type == DocumentNodeType.dnParagraph) 7322if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7342if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 8029if (documentNode.Type == DocumentNodeType.dnParagraph || 8030documentNode.Type == DocumentNodeType.dnList || 8031documentNode.Type == DocumentNodeType.dnTable) 8131if (dn.Type == DocumentNodeType.dnFieldBegin) 8146else if (dn.Type == DocumentNodeType.dnFieldEnd) 8186if (dnChild.Type == DocumentNodeType.dnText) 8237if (dnImage.Type == DocumentNodeType.dnImage) 8275if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8284else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8291if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8322if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9907else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 11172Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11385if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11592if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11603if (dnTop == null || dnTop.Type != DocumentNodeType.dnText)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (27)
266switch (dn.Type) 363if (dn.Type == DocumentNodeType.dnParagraph) 371if (dnParent.Type == DocumentNodeType.dnCell) 375if (dnParent.Type == DocumentNodeType.dnListItem || dnParent.Type == DocumentNodeType.dnList) 426switch (dn.Type) 468if (dn.Type == DocumentNodeType.dnParagraph) 477if (dnParent.Type == DocumentNodeType.dnCell) 677switch (documentNode.Type) 836if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 863if (documentNode.Type == DocumentNodeType.dnImage) 885if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 912if (documentNodeChild.Parent == documentNode && documentNodeChild.Type == DocumentNodeType.dnImage) 919if (documentNode.Type == DocumentNodeType.dnBlockUIContainer) 1235bool isTopLevelParagraph = dnThis.Type == DocumentNodeType.dnParagraph && 1237dnThis.Parent.Type == DocumentNodeType.dnSection && 1689if (dnChildTable.Type == DocumentNodeType.dnTable) 1711if (dnChild.Type == DocumentNodeType.dnRow) 1727else if (dnChild.Type == DocumentNodeType.dnTable) 1874switch (dnThis.Type) 1933if (dnThis.Type != DocumentNodeType.dnRow) 1950switch (dnThis.Type) 2954else if (documentNode.Type == DocumentNodeType.dnTable) 2966if (documentNode.Type == DocumentNodeType.dnList) 3028if (documentNode.Type == DocumentNodeType.dnCell) 3042if (documentNode.Type == DocumentNodeType.dnCell) 3056if (documentNode.Type == DocumentNodeType.dnTable)