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