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