114 references to Type
PresentationFramework (114)
System\Windows\Documents\RtfToXamlReader.cs (87)
4679return XamlNames[(int)Type]; 4686while (dn != null && dn.Type != parentType) 4701if (dn.Type == DocumentNodeType.dnTable) 4719if (dn.Type == DocumentNodeType.dnList) 4723else if (dn.Type == DocumentNodeType.dnCell) 5026if (Type == DocumentNodeType.dnImage) 5033if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5053switch (Type) 5100switch (Type) 5361if (Type == DocumentNodeType.dnImage) 5368if (Type == DocumentNodeType.dnText || Type == DocumentNodeType.dnInline) 5458if (Type != DocumentNodeType.dnParagraph) 5492if (Type == DocumentNodeType.dnTable) 5501if (dnRow.Type == DocumentNodeType.dnRow && this == dnRow.GetParentOfType(DocumentNodeType.dnTable)) 5516if (Type == DocumentNodeType.dnRow) 5525if (dnCell.Type == DocumentNodeType.dnCell && this == dnCell.GetParentOfType(DocumentNodeType.dnRow)) 5540if (Type == DocumentNodeType.dnCell) 5558if (dnCell.Type == DocumentNodeType.dnCell && dnCell.GetParentOfType(DocumentNodeType.dnRow) == dnRow) 5572Debug.Assert(Type == DocumentNodeType.dnTable); 5758if (Type == DocumentNodeType.dnFieldBegin) 5780if (Type == DocumentNodeType.dnFieldEnd) 5879if (dnPa != null && dnPa.Type == DocumentNodeType.dnHyperlink) 5884if (Type == DocumentNodeType.dnParagraph || dnPa == null) 6035if (Type == DocumentNodeType.dnTable) 6044else if (Type == DocumentNodeType.dnList || Type == DocumentNodeType.dnParagraph) 6052switch (dnPa.Type) 6312return ((Count > 0) && (EntryAt(Count - 1).Type == documentNodeType)); 6354|| dnn.Type == DocumentNodeType.dnHyperlink 6376else if (dn.Type == DocumentNodeType.dnListItem) 6381else if (dn.Type == DocumentNodeType.dnList) 6386else if (dn.Type == DocumentNodeType.dnTable) 6393else if (dn.Type == DocumentNodeType.dnRow) 6630switch (dn.Type) 6633Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTable); 6636Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnTableBody); 6639Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnRow); 6642Debug.Assert(dnPa != null && dnPa.Type == DocumentNodeType.dnList); 6674if (dn.Type == documentNodeType) 6680else if (dn.Type == DocumentNodeType.dnShape) 6726if (dn.Type == DocumentNodeType.dnTable 6727|| dn.Type == DocumentNodeType.dnTableBody 6728|| dn.Type == DocumentNodeType.dnRow 6729|| dn.Type == DocumentNodeType.dnCell) 6731return dn.Type; 6735else if (dn.Type == DocumentNodeType.dnShape) 6758if (dn.IsPending && dn.Type == DocumentNodeType.dnShape) 6768if (dn.IsPending && dn.Type == DocumentNodeType.dnList) 6794if (dn.Type == DocumentNodeType.dnCell || dn.Type == DocumentNodeType.dnTable) 6799if (dn.Type == DocumentNodeType.dnListItem) 6819if (dnList.Type == DocumentNodeType.dnList) 6856if (dn.Type == DocumentNodeType.dnListItem) 6868if (dnPa.Type == DocumentNodeType.dnList || dnPa.Type == DocumentNodeType.dnListItem) 6891if (dn.Type == DocumentNodeType.dnCell) 6896else if (dn.Type == DocumentNodeType.dnTable 6897|| dn.Type == DocumentNodeType.dnTableBody 6898|| dn.Type == DocumentNodeType.dnRow) 6912if (ddn.Type == DocumentNodeType.dnCell && ddn.GetParentOfType(dn.Type) == dn) 6948if (dn.Type == documentNodeType) 6954else if (dn.Type == DocumentNodeType.dnShape) 6983if (dn.Type == dnType && !dn.IsMatched) 7199if (ddn.Type == DocumentNodeType.dnParagraph) 7216if (ddn.Type == DocumentNodeType.dnParagraph) 7239if (ddn.Type == DocumentNodeType.dnParagraph && ddn.IsNonEmpty) 7259if (ddn.Type == DocumentNodeType.dnList || ddn.Type == DocumentNodeType.dnListItem) 7946if (documentNode.Type == DocumentNodeType.dnParagraph || 7947documentNode.Type == DocumentNodeType.dnList || 7948documentNode.Type == DocumentNodeType.dnTable) 8048if (dn.Type == DocumentNodeType.dnFieldBegin) 8063else if (dn.Type == DocumentNodeType.dnFieldEnd) 8103if (dnChild.Type == DocumentNodeType.dnText) 8154if (dnImage.Type == DocumentNodeType.dnImage) 8192if (dnInstruction.Type == DocumentNodeType.dnText || nChildCount != 0) 8201else if (dnInstruction.Type == DocumentNodeType.dnHyperlink) 8208if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 8236if (dn.Type == DocumentNodeType.dnParagraph && !dn.IsTerminated) 9814else if (dn.Type == DocumentNodeType.dnListText && !dn.IsPending 11077Debug.Assert(dna.Count > 0 && dna.EntryAt(dna.Count - 1).Type == DocumentNodeType.dnParagraph); 11290if (dna.Count > 1 && dna.EntryAt(dna.Count - 2).Type == DocumentNodeType.dnListItem) 11492if (dnTop != null && (dnTop.Type == DocumentNodeType.dnText)) 11503if (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)