81 references to ElementType
PresentationFramework (81)
src\Framework\System\Windows\Documents\DocumentStructures\NamedElement.cs (2)
38internal FixedElement.ElementType ElementType 43internal FixedElement.ElementType _elementType;
src\Framework\System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
71_elementType = FixedElement.ElementType.Section; 121_elementType = FixedElement.ElementType.Paragraph; 169_elementType = FixedElement.ElementType.Figure; 214_elementType = FixedElement.ElementType.List; 259_elementType = FixedElement.ElementType.ListItem; 316_elementType = FixedElement.ElementType.Table; 361_elementType = FixedElement.ElementType.TableRowGroup; 407_elementType = FixedElement.ElementType.TableRow; 452_elementType = FixedElement.ElementType.TableCell;
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (1)
99_flowBuilder.AddStartNode(FixedElement.ElementType.Paragraph);
src\Framework\System\Windows\Documents\FixedElement.cs (37)
139internal FixedElement(ElementType type, FixedTextPointer start, FixedTextPointer end, int pageIndex) 202if (_type == ElementType.InlineUIContainer) 204Debug.Assert(_object == null && e._type == ElementType.Object); 211if (_type == ElementType.Hyperlink || _type == ElementType.Paragraph || 212(_type >= ElementType.Table && _type <= ElementType.TableCell)) 221if (!(_type == ElementType.Object || _type == ElementType.InlineUIContainer)) 229if (_type == ElementType.InlineUIContainer) 243case ElementType.Table: 246case ElementType.TableRowGroup: 249case ElementType.TableRow: 252case ElementType.TableCell: 255case ElementType.Paragraph: 258case ElementType.Hyperlink: 369return ! (_type == ElementType.Object 370|| _type == ElementType.Container); 380case ElementType.Paragraph: 383case ElementType.Inline: 386case ElementType.Run: 389case ElementType.Span: 392case ElementType.Bold: 395case ElementType.Italic: 398case ElementType.Underline: 401case ElementType.Object: 404case ElementType.Table: 407case ElementType.TableRowGroup: 410case ElementType.TableRow: 413case ElementType.TableCell: 416case ElementType.List: 419case ElementType.ListItem: 422case ElementType.Section: 425case ElementType.Figure: 428case ElementType.Hyperlink: 431case ElementType.InlineUIContainer: 470private ElementType _type; // logical type that this element represents
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (2)
184internal virtual FixedElement.ElementType[] ElementTypes 188return new FixedElement.ElementType[0];
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (3)
80internal override FixedElement.ElementType[] ElementTypes 84return new FixedElement.ElementType[1] { FixedElement.ElementType.Paragraph };
src\Framework\System\Windows\Documents\FixedSOMPage.cs (3)
114internal override FixedElement.ElementType[] ElementTypes 118return new FixedElement.ElementType[1] { FixedElement.ElementType.Section };
src\Framework\System\Windows\Documents\FixedSOMTable.cs (4)
145internal override FixedElement.ElementType[] ElementTypes 149return new FixedElement.ElementType[2] { FixedElement.ElementType.Table, FixedElement.ElementType.TableRowGroup };
src\Framework\System\Windows\Documents\FixedSOMTableCell.cs (3)
106internal override FixedElement.ElementType[] ElementTypes 110return new FixedElement.ElementType[1] { FixedElement.ElementType.TableCell };
src\Framework\System\Windows\Documents\FixedSOMTableRow.cs (3)
75internal override FixedElement.ElementType[] ElementTypes 79return new FixedElement.ElementType[1] { FixedElement.ElementType.TableRow };
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (12)
1062flowBuilder.AddStartNode(FixedElement.ElementType.Section); 1082FixedElement.ElementType[] elementsForNode = node.ElementTypes; 1083foreach (FixedElement.ElementType type in elementsForNode) 1108foreach (FixedElement.ElementType type in elementsForNode) 1471_AddStartNode(FixedElement.ElementType.Paragraph); 1472_AddStartNode(FixedElement.ElementType.Hyperlink); 1482public void AddStartNode(FixedElement.ElementType type) 1534_AddStartNode(FixedElement.ElementType.Run); 1551_AddStartNode(FixedElement.ElementType.InlineUIContainer); 1556FixedElement.ElementType.Object, 1636private void _AddStartNode(FixedElement.ElementType type) 1770_AddStartNode(FixedElement.ElementType.Hyperlink);
src\Framework\System\Windows\Documents\FixedTextContainer.cs (2)
596_containerElement = new FixedElement(FixedElement.ElementType.Container, _start, _end, int.MaxValue); 602internal void OnNewFlowElement(FixedElement parentElement, FixedElement.ElementType elementType, FlowPosition pStart, FlowPosition pEnd, Object source, int pageIndex)