2 instantiations of Section
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9702
DefaultConstructor = delegate () { return new System.Windows.Documents.
Section
(); },
System\Windows\Markup\KnownTypes.cs (1)
1516
case KnownElements.Section: o = new System.Windows.Documents.
Section
(); break;
33 references to Section
PresentationFramework (33)
System\Windows\Documents\FixedElement.cs (1)
414
return typeof(
Section
);
System\Windows\Documents\FlowDocument.cs (1)
48
/// <see cref="Paragraph"/>, <see cref="
Section
"/>, <see cref="List"/>, <see cref="Table"/>.
System\windows\Documents\Section.cs (2)
63
/// only on wrapping root <see cref="
Section
"/> element.
64
/// Setting this property for regular <see cref="
Section
"/> elements in documents does not have any effect.
System\windows\Documents\TextEditorCopyPaste.cs (2)
707
if ((element is
Section
|| element is Span) && PasteTextElement(This, (TextElement)element))
784
if ((textElement is
Section
|| textElement is Span) && PasteTextElement(This, textElement))
System\Windows\Documents\TextRangeBase.cs (2)
1570
if (!(element is
Section
) && !(element is Span))
1587
if (!(textElement is
Section
) && !(textElement is Span))
System\Windows\Documents\TextRangeEditLists.cs (1)
292
if (block is Table || block is
Section
)
System\Windows\Documents\TextRangeSerialization.cs (12)
665
rootType = typeof(
Section
);
711
if (rootType == typeof(
Section
) && lastParagraphMustBeMerged)
713
xmlWriter.WriteAttributeString(
Section
.HasTrailingParagraphBreakOnPastePropertyName, "False");
1257
Invariant.Assert(fragment is
Section
|| fragment is Span, "The wrapper element must be a Section or Span");
1321
CorrectLeadingNestedLists((
Section
)fragment);
1347
if (!((
Section
)fragment).HasTrailingParagraphBreakOnPaste)
1357
if (fragment is
Section
&& ((
Section
)fragment).HasTrailingParagraphBreakOnPaste)
1369
private static void CorrectLeadingNestedLists(
Section
fragment)
1535
if (fragment is
Section
&& ((
Section
)fragment).HasTrailingParagraphBreakOnPaste)
1549
((
Section
)fragment).HasTrailingParagraphBreakOnPaste = range.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None;
System\Windows\Documents\TextSchema.cs (5)
308
typeof(
Section
).IsAssignableFrom(elementType);
407
else if (typeof(
Section
).IsAssignableFrom(type))
409
return typeof(
Section
);
521
else if (typeof(
Section
).IsAssignableFrom(type))
858
typeof(
Section
).IsAssignableFrom(parentType) ||
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
644
case 551: t = () => typeof(
Section
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5960
Type type = typeof(System.Windows.Documents.
Section
);
5962
this.GetXamlType(typeof(System.Windows.Documents.
Section
)), // DeclaringType
5969
GetDelegate = delegate (object target) { return ((System.Windows.Documents.
Section
)target).Blocks; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9699
typeof(System.Windows.Documents.
Section
),
System\Windows\Markup\KnownTypes.cs (2)
2517
case KnownElements.Section: return (o as System.Windows.Documents.
Section
).Blocks;
6098
case KnownElements.Section: t = typeof(System.Windows.Documents.
Section
); break;