2 instantiations of Section
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8770
bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.
Section
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1524
case KnownElements.Section: o = new System.Windows.Documents.
Section
(); break;
33 references to Section
PresentationFramework (33)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
423
return typeof(
Section
);
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\Section.cs (2)
67
/// only on wrapping root <see cref="
Section
"/> element.
68
/// Setting this property for regular <see cref="
Section
"/> elements in documents does not have any effect.
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (2)
890
if ((element is
Section
|| element is Span) && PasteTextElement(This, (TextElement)element))
967
if ((textElement is
Section
|| textElement is Span) && PasteTextElement(This, textElement))
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
1602
if (!(element is
Section
) && !(element is Span))
1619
if (!(textElement is
Section
) && !(textElement is Span))
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (1)
297
if (block is Table || block is
Section
)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (12)
679
rootType = typeof(
Section
);
724
if (rootType == typeof(
Section
) && lastParagraphMustBeMerged)
726
xmlWriter.WriteAttributeString(
Section
.HasTrailingParagraphBreakOnPastePropertyName, "False");
1288
Invariant.Assert(fragment is
Section
|| fragment is Span, "The wrapper element must be a Section or Span");
1352
CorrectLeadingNestedLists((
Section
)fragment);
1378
if (!((
Section
)fragment).HasTrailingParagraphBreakOnPaste)
1388
if (fragment is
Section
&& ((
Section
)fragment).HasTrailingParagraphBreakOnPaste)
1400
private static void CorrectLeadingNestedLists(
Section
fragment)
1562
if (fragment is
Section
&& ((
Section
)fragment).HasTrailingParagraphBreakOnPaste)
1576
((
Section
)fragment).HasTrailingParagraphBreakOnPaste = range.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None;
src\Framework\System\Windows\Documents\TextSchema.cs (5)
312
typeof(
Section
).IsAssignableFrom(elementType);
411
else if (typeof(
Section
).IsAssignableFrom(type))
413
return typeof(
Section
);
525
else if (typeof(
Section
).IsAssignableFrom(type))
867
typeof(
Section
).IsAssignableFrom(parentType) ||
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
643
case 551: t = () => typeof(
Section
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5543
Type type = typeof(System.Windows.Documents.
Section
);
5545
this.GetXamlType(typeof(System.Windows.Documents.
Section
)), // DeclaringType
5551
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.
Section
)target).Blocks; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8768
typeof(System.Windows.Documents.
Section
),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
2517
case KnownElements.Section: return (o as System.Windows.Documents.
Section
).Blocks;
6095
case KnownElements.Section: t = typeof(System.Windows.Documents.
Section
); break;