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