3 instantiations of List
PresentationFramework (3)
System\Windows\Documents\TextRangeEditLists.cs (1)
321
List list = new
List
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6417
bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.
List
(); };
System\Windows\Markup\KnownTypes.cs (1)
1387
case KnownElements.List: o = new System.Windows.Documents.
List
(); break;
81 references to List
PresentationFramework (81)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1066
if (element is
List
)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
43
internal static Thickness CalculatePadding(
List
list, double lineHeight, double pixelsPerDip)
57
private static FormattedText GetFormattedMarker(
List
list, double pixelsPerDip)
MS\Internal\PtsHost\ListParaClient.cs (2)
85
List
list = Paragraph.Element as
List
;
MS\Internal\PtsHost\ListParagraph.cs (1)
96
else if (element is
List
)
MS\Internal\PtsHost\MbpInfo.cs (3)
127
else if (o is Table || o is
List
)
156
else if (o is
List
)
158
defaultPadding = ListMarkerSourceInfo.CalculatePadding((
List
)o, lineHeight, pixelsPerDip);
MS\Internal\Text\MarkerProperties.cs (1)
30
internal MarkerProperties(
List
list, int index)
System\Windows\Controls\TextRangeAdaptor.cs (1)
73
object val = tp.GetValue(
List
.MarkerStyleProperty);
System\Windows\Documents\FixedElement.cs (1)
411
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)
70
public
List
List
74
return (this.Parent as
List
);
System\windows\Documents\TextEditorLists.cs (6)
144
List
list = parentListItem == null ? null : (
List
)parentListItem.Parent;
177
private static void ToggleBullets(TextSelection thisSelection, ListItem parentListItem, ListItem immediateListItem,
List
list)
206
private static void ToggleNumbering(TextSelection thisSelection, ListItem parentListItem, ListItem immediateListItem,
List
list)
357
private static bool HasBulletMarker(
List
list)
368
private static bool HasNumericMarker(
List
list)
System\Windows\Documents\TextPointer.cs (1)
1039
/// is structurally incomplete, say in empty <see cref="
List
"/>
System\Windows\Documents\TextRangeBase.cs (6)
700
else if (typeof(
List
).IsAssignableFrom(elementType))
721
else if (typeof(
List
).IsAssignableFrom(elementType) && navigator is TextPointer)
799
List
list = (
List
)navigator.GetAdjacentElement(LogicalDirection.Forward);
829
List
list = (
List
)((TextPointer)navigator).Parent;
System\Windows\Documents\TextRangeEdit.cs (2)
802
else if (block is
List
)
1036
if (block is Paragraph || block is BlockUIContainer || block is
List
)
System\Windows\Documents\TextRangeEditLists.cs (20)
55
if (secondListItem != null && secondListItem.PreviousListItem == null && secondParagraphOrBlockUIContainer.NextBlock is
List
)
60
List
sublistOfSecondParagraph = (
List
)secondParagraphOrBlockUIContainer.NextBlock;
217
List
precedingList = mergePosition.GetAdjacentElement(LogicalDirection.Backward) as
List
;
218
List
followingList = mergePosition.GetAdjacentElement(LogicalDirection.Forward) as
List
;
321
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)
636
if (ancestor is
List
|| ancestor is Inline && !TextSchema.IsMergeableInline(ancestor.GetType()))
850
if (parent is
List
)
System\Windows\Documents\TextRangeSerialization.cs (8)
892
if ((property == Block.MarginProperty && (typeof(Paragraph).IsAssignableFrom(propertyOwnerType) || typeof(
List
).IsAssignableFrom(propertyOwnerType)))
894
(property == Block.PaddingProperty) && typeof(
List
).IsAssignableFrom(propertyOwnerType))
1378
List
list = fragment.Blocks.FirstBlock as
List
;
1392
List
nestedList = listItem.Blocks.FirstBlock as
List
;
1449
if (insertionPosition.Parent is
List
)
1731
typeof(
List
).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (8)
309
typeof(
List
).IsAssignableFrom(elementType) ||
413
else if (typeof(
List
).IsAssignableFrom(type))
415
return typeof(
List
);
527
else if (typeof(
List
).IsAssignableFrom(type))
845
else if (typeof(
List
).IsAssignableFrom(parentType))
1007
List
.MarkerStyleProperty,
1008
List
.MarkerOffsetProperty,
1009
List
.StartIndexProperty,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
468
case 372: t = () => typeof(
List
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5020
Type type = typeof(System.Windows.Documents.
List
);
5022
this.GetXamlType(typeof(System.Windows.Documents.
List
)), // DeclaringType
5028
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.
List
)target).ListItems; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6415
typeof(System.Windows.Documents.
List
),
System\Windows\Markup\KnownTypes.cs (2)
2505
case KnownElements.List: return (o as System.Windows.Documents.
List
).ListItems;
5926
case KnownElements.List: t = typeof(System.Windows.Documents.
List
); break;