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) 232case ElementType.Table: 235case ElementType.TableRowGroup: 238case ElementType.TableRow: 241case ElementType.TableCell: 244case ElementType.Paragraph: 247case ElementType.Hyperlink: 361return ! (_type == ElementType.Object 362|| _type == ElementType.Container); 372case ElementType.Paragraph: 375case ElementType.Inline: 378case ElementType.Run: 381case ElementType.Span: 384case ElementType.Bold: 387case ElementType.Italic: 390case ElementType.Underline: 393case ElementType.Object: 396case ElementType.Table: 399case ElementType.TableRowGroup: 402case ElementType.TableRow: 405case ElementType.TableCell: 408case ElementType.List: 411case ElementType.ListItem: 414case ElementType.Section: 417case ElementType.Figure: 420case ElementType.Hyperlink: 423case ElementType.InlineUIContainer: 462private 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)
1028flowBuilder.AddStartNode(FixedElement.ElementType.Section); 1048FixedElement.ElementType[] elementsForNode = node.ElementTypes; 1049foreach (FixedElement.ElementType type in elementsForNode) 1074foreach (FixedElement.ElementType type in elementsForNode) 1433_AddStartNode(FixedElement.ElementType.Paragraph); 1434_AddStartNode(FixedElement.ElementType.Hyperlink); 1444public void AddStartNode(FixedElement.ElementType type) 1496_AddStartNode(FixedElement.ElementType.Run); 1512_AddStartNode(FixedElement.ElementType.InlineUIContainer); 1517FixedElement.ElementType.Object, 1597private void _AddStartNode(FixedElement.ElementType type) 1730_AddStartNode(FixedElement.ElementType.Hyperlink);
System\Windows\Documents\FixedTextContainer.cs (2)
572_containerElement = new FixedElement(FixedElement.ElementType.Container, _start, _end, int.MaxValue); 577internal void OnNewFlowElement(FixedElement parentElement, FixedElement.ElementType elementType, FlowPosition pStart, FlowPosition pEnd, Object source, int pageIndex)