82 references to ElementType
PresentationFramework (82)
System\Windows\Documents\DocumentStructures\NamedElement.cs (2)
19internal FixedElement.ElementType ElementType 24internal FixedElement.ElementType _elementType;
System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
52_elementType = FixedElement.ElementType.Section; 98_elementType = FixedElement.ElementType.Paragraph; 143_elementType = FixedElement.ElementType.Figure; 185_elementType = FixedElement.ElementType.List; 227_elementType = FixedElement.ElementType.ListItem; 281_elementType = FixedElement.ElementType.Table; 323_elementType = FixedElement.ElementType.TableRowGroup; 366_elementType = FixedElement.ElementType.TableRow; 408_elementType = FixedElement.ElementType.TableCell;
System\Windows\Documents\FixedDSBuilder.cs (1)
87_flowBuilder.AddStartNode(FixedElement.ElementType.Paragraph);
System\Windows\Documents\FixedElement.cs (38)
127internal FixedElement(ElementType type, FixedTextPointer start, FixedTextPointer end, int pageIndex) 131if (_type == ElementType.Object) // is EmbeddedObject 189if (_type == ElementType.InlineUIContainer) 191Debug.Assert(_object == null && e._type == ElementType.Object); 198if (_type == ElementType.Hyperlink || _type == ElementType.Paragraph || 199(_type >= ElementType.Table && _type <= ElementType.TableCell)) 208if (!(_type == ElementType.Object || _type == ElementType.InlineUIContainer)) 216if (_type == ElementType.InlineUIContainer) 230case ElementType.Table: 233case ElementType.TableRowGroup: 236case ElementType.TableRow: 239case ElementType.TableCell: 242case ElementType.Paragraph: 245case ElementType.Hyperlink: 355return ! (_type == ElementType.Object 356|| _type == ElementType.Container); 366case ElementType.Paragraph: 369case ElementType.Inline: 372case ElementType.Run: 375case ElementType.Span: 378case ElementType.Bold: 381case ElementType.Italic: 384case ElementType.Underline: 387case ElementType.Object: 390case ElementType.Table: 393case ElementType.TableRowGroup: 396case ElementType.TableRow: 399case ElementType.TableCell: 402case ElementType.List: 405case ElementType.ListItem: 408case ElementType.Section: 411case ElementType.Figure: 414case ElementType.Hyperlink: 417case ElementType.InlineUIContainer: 456private ElementType _type; // logical type that this element represents
System\Windows\Documents\FixedSOMContainer.cs (2)
171internal virtual FixedElement.ElementType[] ElementTypes 175return Array.Empty<FixedElement.ElementType>();
System\Windows\Documents\FixedSOMFixedBlock.cs (3)
70internal override FixedElement.ElementType[] ElementTypes 74return new FixedElement.ElementType[1] { FixedElement.ElementType.Paragraph };
System\Windows\Documents\FixedSOMPage.cs (3)
106internal override FixedElement.ElementType[] ElementTypes 110return new FixedElement.ElementType[1] { FixedElement.ElementType.Section };
System\Windows\Documents\FixedSOMTable.cs (4)
134internal override FixedElement.ElementType[] ElementTypes 138return new FixedElement.ElementType[2] { FixedElement.ElementType.Table, FixedElement.ElementType.TableRowGroup };
System\Windows\Documents\FixedSOMTableCell.cs (3)
97internal override FixedElement.ElementType[] ElementTypes 101return new FixedElement.ElementType[1] { FixedElement.ElementType.TableCell };
System\Windows\Documents\FixedSOMTableRow.cs (3)
66internal override FixedElement.ElementType[] ElementTypes 70return new FixedElement.ElementType[1] { FixedElement.ElementType.TableRow };
System\Windows\Documents\FixedTextBuilder.cs (12)
1031flowBuilder.AddStartNode(FixedElement.ElementType.Section); 1051FixedElement.ElementType[] elementsForNode = node.ElementTypes; 1052foreach (FixedElement.ElementType type in elementsForNode) 1077foreach (FixedElement.ElementType type in elementsForNode) 1436_AddStartNode(FixedElement.ElementType.Paragraph); 1437_AddStartNode(FixedElement.ElementType.Hyperlink); 1447public void AddStartNode(FixedElement.ElementType type) 1499_AddStartNode(FixedElement.ElementType.Run); 1516_AddStartNode(FixedElement.ElementType.InlineUIContainer); 1521FixedElement.ElementType.Object, 1601private void _AddStartNode(FixedElement.ElementType type) 1732_AddStartNode(FixedElement.ElementType.Hyperlink);
System\Windows\Documents\FixedTextContainer.cs (2)
580_containerElement = new FixedElement(FixedElement.ElementType.Container, _start, _end, int.MaxValue); 585internal void OnNewFlowElement(FixedElement parentElement, FixedElement.ElementType elementType, FlowPosition pStart, FlowPosition pEnd, Object source, int pageIndex)