3 instantiations of List
PresentationFramework (3)
System\Windows\Documents\TextRangeEditLists.cs (1)
319
List list = new
List
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7038
DefaultConstructor = delegate () { return new System.Windows.Documents.
List
(); },
System\Windows\Markup\KnownTypes.cs (1)
1381
case KnownElements.List: o = new System.Windows.Documents.
List
(); break;
81 references to List
PresentationFramework (81)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1046
if (element is
List
)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
40
internal static Thickness CalculatePadding(
List
list, double lineHeight, double pixelsPerDip)
54
private static FormattedText GetFormattedMarker(
List
list, double pixelsPerDip)
MS\Internal\PtsHost\ListParaClient.cs (2)
81
List
list = Paragraph.Element as
List
;
MS\Internal\PtsHost\ListParagraph.cs (1)
84
else if (element is
List
)
MS\Internal\PtsHost\MbpInfo.cs (3)
125
else if (o is Table || o is
List
)
154
else if (o is
List
)
156
defaultPadding = ListMarkerSourceInfo.CalculatePadding((
List
)o, lineHeight, pixelsPerDip);
MS\Internal\Text\MarkerProperties.cs (1)
28
internal MarkerProperties(
List
list, int index)
System\Windows\Controls\TextRangeAdaptor.cs (1)
71
object val = tp.GetValue(
List
.MarkerStyleProperty);
System\Windows\Documents\FixedElement.cs (1)
409
return typeof(
List
);
System\Windows\Documents\FlowDocument.cs (1)
49
/// <see cref="Paragraph"/>, <see cref="Section"/>, <see cref="
List
"/>, <see cref="Table"/>.
System\Windows\Documents\List.cs (6)
39
DefaultStyleKeyProperty.OverrideMetadata(typeof(
List
), new FrameworkPropertyMetadata(typeof(
List
)));
92
typeof(
List
),
115
typeof(
List
),
139
typeof(
List
),
247
if (block is
List
)
System\Windows\Documents\ListItem.cs (2)
69
public
List
List
73
return (this.Parent as
List
);
System\windows\Documents\TextEditorLists.cs (6)
128
List
list = parentListItem == null ? null : (
List
)parentListItem.Parent;
161
private static void ToggleBullets(TextSelection thisSelection, ListItem parentListItem, ListItem immediateListItem,
List
list)
190
private static void ToggleNumbering(TextSelection thisSelection, ListItem parentListItem, ListItem immediateListItem,
List
list)
341
private static bool HasBulletMarker(
List
list)
352
private static bool HasNumericMarker(
List
list)
System\Windows\Documents\TextPointer.cs (1)
1034
/// is structurally incomplete, say in empty <see cref="
List
"/>
System\Windows\Documents\TextRangeBase.cs (6)
697
else if (typeof(
List
).IsAssignableFrom(elementType))
718
else if (typeof(
List
).IsAssignableFrom(elementType) && navigator is TextPointer)
796
List
list = (
List
)navigator.GetAdjacentElement(LogicalDirection.Forward);
826
List
list = (
List
)((TextPointer)navigator).Parent;
System\Windows\Documents\TextRangeEdit.cs (2)
800
else if (block is
List
)
1034
if (block is Paragraph || block is BlockUIContainer || block is
List
)
System\Windows\Documents\TextRangeEditLists.cs (20)
53
if (secondListItem != null && secondListItem.PreviousListItem == null && secondParagraphOrBlockUIContainer.NextBlock is
List
)
58
List
sublistOfSecondParagraph = (
List
)secondParagraphOrBlockUIContainer.NextBlock;
215
List
precedingList = mergePosition.GetAdjacentElement(LogicalDirection.Backward) as
List
;
216
List
followingList = mergePosition.GetAdjacentElement(LogicalDirection.Forward) as
List
;
319
List
list = new List
343
if (firstListItem == null || lastListItem == null || firstListItem.Parent != lastListItem.Parent || !(firstListItem.Parent is
List
))
348
List
listToRemove = null;
403
!(firstListItem.Parent is
List
))
417
List
list = (
List
)firstListItem.Parent;
420
List
indentedList = (
List
)TextRangeEdit.InsertElementClone(firstListItem.ElementStart, lastListItem.ElementEnd, list);
430
List
nestedListOfLastItem = leadingParagraphOfLastItem.NextBlock as
List
;
497
List
unindentedList = (
List
)firstListItem.Parent;
760
private static TextPointer GetPositionAfterList(
List
list)
System\Windows\Documents\TextRangeEditTables.cs (2)
634
if (ancestor is
List
|| ancestor is Inline && !TextSchema.IsMergeableInline(ancestor.GetType()))
852
if (parent is
List
)
System\Windows\Documents\TextRangeSerialization.cs (8)
886
if ((property == Block.MarginProperty && (typeof(Paragraph).IsAssignableFrom(propertyOwnerType) || typeof(
List
).IsAssignableFrom(propertyOwnerType)))
888
(property == Block.PaddingProperty) && typeof(
List
).IsAssignableFrom(propertyOwnerType))
1372
List
list = fragment.Blocks.FirstBlock as
List
;
1386
List
nestedList = listItem.Blocks.FirstBlock as
List
;
1443
if (insertionPosition.Parent is
List
)
1725
typeof(
List
).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (8)
308
typeof(
List
).IsAssignableFrom(elementType) ||
412
else if (typeof(
List
).IsAssignableFrom(type))
414
return typeof(
List
);
526
else if (typeof(
List
).IsAssignableFrom(type))
839
else if (typeof(
List
).IsAssignableFrom(parentType))
1001
List
.MarkerStyleProperty,
1002
List
.MarkerOffsetProperty,
1003
List
.StartIndexProperty,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
466
case 372: t = () => typeof(
List
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5334
Type type = typeof(System.Windows.Documents.
List
);
5336
this.GetXamlType(typeof(System.Windows.Documents.
List
)), // DeclaringType
5343
GetDelegate = delegate (object target) { return ((System.Windows.Documents.
List
)target).ListItems; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7035
typeof(System.Windows.Documents.
List
),
System\Windows\Markup\KnownTypes.cs (2)
2499
case KnownElements.List: return (o as System.Windows.Documents.
List
).ListItems;
5920
case KnownElements.List: t = typeof(System.Windows.Documents.
List
); break;