menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HeaderFooter - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HeaderFooter

    Represents the HeaderFooter class.

    Inheritance
    System.Object
    BaseNode
    Node
    CompositeNode
    HeaderFooter
    Implements
    INode
    Inherited Members
    Node.NextNode
    Node.Owner
    Node.PreviousNode
    Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
    Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
    Syntax
    public sealed class HeaderFooter : CompositeNode, INode
    Examples

    The following code example demonstrates how to define a HeaderFooter.

    <RichTextBoxAdv:HeaderFooter>
        <RichTextBoxAdv:ParagraphAdv>
            <RichTextBoxAdv:SpanAdv>29 March 2016</RichTextBoxAdv:SpanAdv>
        </RichTextBoxAdv:ParagraphAdv>
        <!-- Defines any number of tables and paragraphs. -->
    </RichTextBoxAdv:HeaderFooter>
    HeaderFooter header = new HeaderFooter();
    ParagraphAdv headerParagraph = new ParagraphAdv();
    SpanAdv headerSpan = new SpanAdv();
    headerSpan.Text = "29 March 2016";
    headerParagraph.Inlines.Add(headerSpan);
    header.Blocks.Add(headerParagraph);
    Dim header As New HeaderFooter()
    Dim headerParagraph As New ParagraphAdv()
    Dim headerSpan As New SpanAdv()
    headerSpan.Text = "29 March 2016"
    headerParagraph.Inlines.Add(headerSpan)
    header.Blocks.Add(headerParagraph)

    Constructors

    HeaderFooter()

    Initializes a new instance of the HeaderFooter class.

    Declaration
    public HeaderFooter()

    Properties

    Blocks

    Gets the BlockAdvCollection of the HeaderFooter.

    Declaration
    public BlockAdvCollection Blocks { get; }
    Property Value
    Type Description
    BlockAdvCollection

    The BlockAdvCollection of the HeaderFooter.

    Implements

    INode
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved