114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4688return XamlNames[(int)Type]; 4695while (dn != null && dn.Type != parentType) 4710if (dn.Type == DocumentNodeType.dnTable) 4728if (dn.Type == DocumentNodeType.dnList) 4732else if (dn.Type == DocumentNodeType.dnCell) 5035if (Type == DocumentNodeType.dnImage) 5042if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5062switch (Type) 5109switch (Type) 5370if (Type == DocumentNodeType.dnImage) 5377if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5467if (Type != DocumentNodeType.dnParagraph) 5501if (Type == DocumentNodeType.dnTable) 5510if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5525if (Type == DocumentNodeType.dnRow) 5534if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5549if (Type == DocumentNodeType.dnCell) 5567if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5581Debug.Assert(Type == DocumentNodeType.dnTable); 5771if (Type == DocumentNodeType.dnFieldBegin) 5793if (Type == DocumentNodeType.dnFieldEnd) 5892if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5897if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6048if (Type == DocumentNodeType.dnTable) 6057else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6065switch (dnPa.Type) 6325return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6367|| dnn.Type == DocumentNodeType.dnHyperlink 6391else if (dn.Type == DocumentNodeType.dnListItem) 6396else if (dn.Type == DocumentNodeType.dnList) 6401else if (dn.Type == DocumentNodeType.dnTable) 6408else if (dn.Type == DocumentNodeType.dnRow) 6645switch (dn.Type) 6648Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6651Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6654Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6657Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6689if (dn.Type == documentNodeType) 6695else if (dn.Type == DocumentNodeType.dnShape) 6741if (dn.Type == DocumentNodeType.dnTable 6742|| dn.Type == DocumentNodeType.dnTableBody 6743|| dn.Type == DocumentNodeType.dnRow 6744|| dn.Type == DocumentNodeType.dnCell) 6746return dn.Type; 6750else if (dn.Type == DocumentNodeType.dnShape) 6773if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6783if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6809if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6814if (dn.Type == DocumentNodeType.dnListItem) 6834if (dnList.Type == DocumentNodeType.dnList) 6872if (dn.Type == DocumentNodeType.dnListItem) 6884if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6907if (dn.Type == DocumentNodeType.dnCell) 6912else if (dn.Type == DocumentNodeType.dnTable 6913|| dn.Type == DocumentNodeType.dnTableBody 6914|| dn.Type == DocumentNodeType.dnRow) 6928if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 6964if (dn.Type == documentNodeType) 6970else if (dn.Type == DocumentNodeType.dnShape) 6999if (dn.Type == dnType && !dn.IsMatched) 7215if (ddn.Type == DocumentNodeType.dnParagraph) 7232if (ddn.Type == DocumentNodeType.dnParagraph) 7255if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7275if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 7964if (documentNode.Type == DocumentNodeType.dnParagraph || 7965documentNode.Type == DocumentNodeType.dnList || 7966documentNode.Type == DocumentNodeType.dnTable) 8066if (dn.Type == DocumentNodeType.dnFieldBegin) 8081else if (dn.Type == DocumentNodeType.dnFieldEnd) 8121if (dnChild.Type == DocumentNodeType.dnText) 8172if (dnImage.Type == DocumentNodeType.dnImage) 8210if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8219else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8226if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8254if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9841else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 11108Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11321if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11523if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11534if (dnTop == null || dnTop.Type != DocumentNodeType.dnText)
System\Windows\Documents\XamlToRtfWriter.cs (27)
264switch (dn.Type) 361if (dn.Type == DocumentNodeType.dnParagraph) 369if (dnParent.Type == DocumentNodeType.dnCell) 373if (dnParent.Type == DocumentNodeType.dnListItem || dnParent.Type == DocumentNodeType.dnList) 424switch (dn.Type) 466if (dn.Type == DocumentNodeType.dnParagraph) 475if (dnParent.Type == DocumentNodeType.dnCell) 675switch (documentNode.Type) 834if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 861if (documentNode.Type == DocumentNodeType.dnImage) 883if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 910if (documentNodeChild.Parent == documentNode && documentNodeChild.Type == DocumentNodeType.dnImage) 917if (documentNode.Type == DocumentNodeType.dnBlockUIContainer) 1232bool isTopLevelParagraph = dnThis.Type == DocumentNodeType.dnParagraph && 1234dnThis.Parent.Type == DocumentNodeType.dnSection && 1686if (dnChildTable.Type == DocumentNodeType.dnTable) 1708if (dnChild.Type == DocumentNodeType.dnRow) 1724else if (dnChild.Type == DocumentNodeType.dnTable) 1871switch (dnThis.Type) 1930if (dnThis.Type != DocumentNodeType.dnRow) 1947switch (dnThis.Type) 2947else if (documentNode.Type == DocumentNodeType.dnTable) 2959if (documentNode.Type == DocumentNodeType.dnList) 3021if (documentNode.Type == DocumentNodeType.dnCell) 3035if (documentNode.Type == DocumentNodeType.dnCell) 3049if (documentNode.Type == DocumentNodeType.dnTable)