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