3 instantiations of List
PresentationFramework (3)
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (1)
323List list = new List();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6413bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.List(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1388case KnownElements.List: o = new System.Windows.Documents.List(); break;
81 references to List
PresentationFramework (81)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1092if (element is List)
src\Framework\MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
45internal static Thickness CalculatePadding(List list, double lineHeight, double pixelsPerDip) 59private static FormattedText GetFormattedMarker(List list, double pixelsPerDip)
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (2)
95List list = Paragraph.Element as List;
src\Framework\MS\Internal\PtsHost\ListParagraph.cs (1)
101else if (element is List)
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (3)
128else if (o is Table || o is List) 157else if (o is List) 159defaultPadding = ListMarkerSourceInfo.CalculatePadding((List)o, lineHeight, pixelsPerDip);
src\Framework\MS\Internal\Text\MarkerProperties.cs (1)
33internal MarkerProperties(List list, int index)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
81object val = tp.GetValue(List.MarkerStyleProperty);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
417return typeof(List);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
54/// <see cref="Paragraph"/>, <see cref="Section"/>, <see cref="List"/>, <see cref="Table"/>.
src\Framework\System\Windows\Documents\List.cs (6)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(List), new FrameworkPropertyMetadata(typeof(List))); 99typeof(List), 122typeof(List), 146typeof(List), 257if (block is List)
src\Framework\System\Windows\Documents\ListItem.cs (2)
77public List List 81return (this.Parent as List);
src\Framework\System\windows\Documents\TextEditorLists.cs (6)
146List list = parentListItem == null ? null : (List)parentListItem.Parent; 179private static void ToggleBullets(TextSelection thisSelection, ListItem parentListItem, ListItem immediateListItem, List list) 208private static void ToggleNumbering(TextSelection thisSelection, ListItem parentListItem, ListItem immediateListItem, List list) 359private static bool HasBulletMarker(List list) 370private static bool HasNumericMarker(List list)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1050/// is structurally incomplete, say in empty <see cref="List"/>
src\Framework\System\Windows\Documents\TextRangeBase.cs (6)
711else if (typeof(List).IsAssignableFrom(elementType)) 732else if (typeof(List).IsAssignableFrom(elementType) && navigator is TextPointer) 810List list = (List)navigator.GetAdjacentElement(LogicalDirection.Forward); 840List list = (List)((TextPointer)navigator).Parent;
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
804else if (block is List) 1038if (block is Paragraph || block is BlockUIContainer || block is List)
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (20)
57if (secondListItem != null && secondListItem.PreviousListItem == null && secondParagraphOrBlockUIContainer.NextBlock is List) 62List sublistOfSecondParagraph = (List)secondParagraphOrBlockUIContainer.NextBlock; 219List precedingList = mergePosition.GetAdjacentElement(LogicalDirection.Backward) as List; 220List followingList = mergePosition.GetAdjacentElement(LogicalDirection.Forward) as List; 323List list = new List(); 345if (firstListItem == null || lastListItem == null || firstListItem.Parent != lastListItem.Parent || !(firstListItem.Parent is List)) 350List listToRemove = null; 405!(firstListItem.Parent is List)) 419List list = (List)firstListItem.Parent; 422List indentedList = (List)TextRangeEdit.InsertElementClone(firstListItem.ElementStart, lastListItem.ElementEnd, list); 432List nestedListOfLastItem = leadingParagraphOfLastItem.NextBlock as List; 499List unindentedList = (List)firstListItem.Parent; 762private static TextPointer GetPositionAfterList(List list)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (2)
639if (ancestor is List || ancestor is Inline && !TextSchema.IsMergeableInline(ancestor.GetType())) 853if (parent is List)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (8)
899if ((property == Block.MarginProperty && (typeof(Paragraph).IsAssignableFrom(propertyOwnerType) || typeof(List).IsAssignableFrom(propertyOwnerType))) 901(property == Block.PaddingProperty) && typeof(List).IsAssignableFrom(propertyOwnerType)) 1402List list = fragment.Blocks.FirstBlock as List; 1416List nestedList = listItem.Blocks.FirstBlock as List; 1473if (insertionPosition.Parent is List) 1751typeof(List).IsAssignableFrom(commonAncestor.ParentType) ||
src\Framework\System\Windows\Documents\TextSchema.cs (8)
311typeof(List).IsAssignableFrom(elementType) || 415else if (typeof(List).IsAssignableFrom(type)) 417return typeof(List); 529else if (typeof(List).IsAssignableFrom(type)) 847else if (typeof(List).IsAssignableFrom(parentType)) 1009List.MarkerStyleProperty, 1010List.MarkerOffsetProperty, 1011List.StartIndexProperty,
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
464case 372: t = () => typeof(List); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4995Type type = typeof(System.Windows.Documents.List); 4997this.GetXamlType(typeof(System.Windows.Documents.List)), // DeclaringType 5003bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.List)target).ListItems; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6411typeof(System.Windows.Documents.List),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
2498case KnownElements.List: return (o as System.Windows.Documents.List).ListItems; 5916case KnownElements.List: t = typeof(System.Windows.Documents.List); break;