2 instantiations of Section
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8774bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.Section(); };
System\Windows\Markup\KnownTypes.cs (1)
1523case KnownElements.Section: o = new System.Windows.Documents.Section(); break;
33 references to Section
PresentationFramework (33)
System\Windows\Documents\FixedElement.cs (1)
417return typeof(Section);
System\Windows\Documents\FlowDocument.cs (1)
49/// <see cref="Paragraph"/>, <see cref="Section"/>, <see cref="List"/>, <see cref="Table"/>.
System\windows\Documents\Section.cs (2)
64/// only on wrapping root <see cref="Section"/> element. 65/// Setting this property for regular <see cref="Section"/> elements in documents does not have any effect.
System\windows\Documents\TextEditorCopyPaste.cs (2)
719if ((element is Section || element is Span) && PasteTextElement(This, (TextElement)element)) 796if ((textElement is Section || textElement is Span) && PasteTextElement(This, textElement))
System\Windows\Documents\TextRangeBase.cs (2)
1574if (!(element is Section) && !(element is Span)) 1591if (!(textElement is Section) && !(textElement is Span))
System\Windows\Documents\TextRangeEditLists.cs (1)
295if (block is Table || block is Section)
System\Windows\Documents\TextRangeSerialization.cs (12)
672rootType = typeof(Section); 718if (rootType == typeof(Section) && lastParagraphMustBeMerged) 720xmlWriter.WriteAttributeString(Section.HasTrailingParagraphBreakOnPastePropertyName, "False"); 1264Invariant.Assert(fragment is Section || fragment is Span, "The wrapper element must be a Section or Span"); 1328CorrectLeadingNestedLists((Section)fragment); 1354if (!((Section)fragment).HasTrailingParagraphBreakOnPaste) 1364if (fragment is Section && ((Section)fragment).HasTrailingParagraphBreakOnPaste) 1376private static void CorrectLeadingNestedLists(Section fragment) 1542if (fragment is Section && ((Section)fragment).HasTrailingParagraphBreakOnPaste) 1556((Section)fragment).HasTrailingParagraphBreakOnPaste = range.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None;
System\Windows\Documents\TextSchema.cs (5)
310typeof(Section).IsAssignableFrom(elementType); 409else if (typeof(Section).IsAssignableFrom(type)) 411return typeof(Section); 523else if (typeof(Section).IsAssignableFrom(type)) 865typeof(Section).IsAssignableFrom(parentType) ||
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
647case 551: t = () => typeof(Section); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5585Type type = typeof(System.Windows.Documents.Section); 5587this.GetXamlType(typeof(System.Windows.Documents.Section)), // DeclaringType 5593bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.Section)target).Blocks; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8772typeof(System.Windows.Documents.Section),
System\Windows\Markup\KnownTypes.cs (2)
2524case KnownElements.Section: return (o as System.Windows.Documents.Section).Blocks; 6105case KnownElements.Section: t = typeof(System.Windows.Documents.Section); break;