114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4678return XamlNames[(int)Type]; 4685while (dn != null && dn.Type != parentType) 4700if (dn.Type == DocumentNodeType.dnTable) 4718if (dn.Type == DocumentNodeType.dnList) 4722else if (dn.Type == DocumentNodeType.dnCell) 5025if (Type == DocumentNodeType.dnImage) 5032if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5052switch (Type) 5099switch (Type) 5360if (Type == DocumentNodeType.dnImage) 5367if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5457if (Type != DocumentNodeType.dnParagraph) 5491if (Type == DocumentNodeType.dnTable) 5500if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5515if (Type == DocumentNodeType.dnRow) 5524if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5539if (Type == DocumentNodeType.dnCell) 5557if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5571Debug.Assert(Type == DocumentNodeType.dnTable); 5761if (Type == DocumentNodeType.dnFieldBegin) 5783if (Type == DocumentNodeType.dnFieldEnd) 5882if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5887if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6038if (Type == DocumentNodeType.dnTable) 6047else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6055switch (dnPa.Type) 6315return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6357|| dnn.Type == DocumentNodeType.dnHyperlink 6381else if (dn.Type == DocumentNodeType.dnListItem) 6386else if (dn.Type == DocumentNodeType.dnList) 6391else if (dn.Type == DocumentNodeType.dnTable) 6398else if (dn.Type == DocumentNodeType.dnRow) 6635switch (dn.Type) 6638Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6641Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6644Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6647Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6679if (dn.Type == documentNodeType) 6685else if (dn.Type == DocumentNodeType.dnShape) 6731if (dn.Type == DocumentNodeType.dnTable 6732|| dn.Type == DocumentNodeType.dnTableBody 6733|| dn.Type == DocumentNodeType.dnRow 6734|| dn.Type == DocumentNodeType.dnCell) 6736return dn.Type; 6740else if (dn.Type == DocumentNodeType.dnShape) 6763if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6773if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6799if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6804if (dn.Type == DocumentNodeType.dnListItem) 6824if (dnList.Type == DocumentNodeType.dnList) 6862if (dn.Type == DocumentNodeType.dnListItem) 6874if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6897if (dn.Type == DocumentNodeType.dnCell) 6902else if (dn.Type == DocumentNodeType.dnTable 6903|| dn.Type == DocumentNodeType.dnTableBody 6904|| dn.Type == DocumentNodeType.dnRow) 6918if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 6954if (dn.Type == documentNodeType) 6960else if (dn.Type == DocumentNodeType.dnShape) 6989if (dn.Type == dnType && !dn.IsMatched) 7205if (ddn.Type == DocumentNodeType.dnParagraph) 7222if (ddn.Type == DocumentNodeType.dnParagraph) 7245if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7265if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 7954if (documentNode.Type == DocumentNodeType.dnParagraph || 7955documentNode.Type == DocumentNodeType.dnList || 7956documentNode.Type == DocumentNodeType.dnTable) 8056if (dn.Type == DocumentNodeType.dnFieldBegin) 8071else if (dn.Type == DocumentNodeType.dnFieldEnd) 8111if (dnChild.Type == DocumentNodeType.dnText) 8162if (dnImage.Type == DocumentNodeType.dnImage) 8200if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8209else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8216if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8244if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9825else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 10975Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11188if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11390if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11401if (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)