Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8111611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:11:15+00:00 2026-06-06T02:11:15+00:00

A beginner in WPF Documents here. I am exploring the possibility to display page

  • 0

A beginner in WPF Documents here.

I am exploring the possibility to display page by page static content in WPF application. Much like a PowerPoint presentation in which slides can be navigated next and previous.

From my initial research I thought FlowDocument is what I was looking for but I stuck in it while I needed to show multiple pages which can be navigated next and previous.

Anyone can please guide me if I am going the right way using FlowDocument, how I can have multiple pages (or documents)?

Here is what’s working as a single page for me:

<FlowDocumentReader  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
        <FlowDocument PagePadding="0" ColumnWidth="999999">
            <Paragraph  Style="{StaticResource headerText}" TextAlignment="Center" >
                <Bold>AGENDA</Bold>
            </Paragraph>
            <List StartIndex="1" MarkerStyle="Decimal" Style="{StaticResource normalText}" MarkerOffset="20" TextAlignment="Left">
                <ListItem>
                    <Paragraph>XAML</Paragraph>
                </ListItem>
                <ListItem>
                    <Paragraph>Layouts in WPF</Paragraph>
                    <List StartIndex="1" Margin="0"  MarkerStyle="Decimal" Style="{StaticResource subText}" MarkerOffset="20" TextAlignment="Left">
                        <ListItem>
                            <Paragraph>Controls</Paragraph>
                        </ListItem>
                        <ListItem>
                            <Paragraph>Styles</Paragraph>
                        </ListItem>
                        <ListItem>
                            <Paragraph>Templates</Paragraph>
                        </ListItem>
                    </List>
                </ListItem>
                <ListItem>
                    <Paragraph>Binding</Paragraph>
                    <List StartIndex="1" Margin="0" MarkerStyle="Decimal" Style="{StaticResource subText}" MarkerOffset="20" TextAlignment="Left">
                        <ListItem>
                            <Paragraph>DependencyObject</Paragraph>
                        </ListItem>
                        <ListItem>
                            <Paragraph>DependencyProperty</Paragraph>
                        </ListItem>
                    </List>
                </ListItem>
            </List>
        </FlowDocument>
    </FlowDocumentReader>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T02:11:16+00:00Added an answer on June 6, 2026 at 2:11 am

    I think the easiest way to do this is just have a content control that binds to a ‘CurrentPage’ variable within your viewmodel. ie

    private UserControl _currentpage
    public UserControl CurrentPage { 
        get
        {
            return _currentpage;
        }
        set
        {
           if (PropertyChanged != null)
               PropertyChanged(this, new PropertyChangedEventArgs("CurrentPage"));
        } 
    }
    
    public ViewModel()
    {
        CurrentPage = new FirstPage();
    }
    
    private void NextPageExecuted(object parameter)
    {
         //Logic that picks the next page from a set of pages
    }
    
    private void PrevPageExecuted(object parameter)
    {
         //Logic that picks the previous page from a set of pages
    }
    

    then in the xaml just put a generic content control

    <ContentControl Content="{Binding CurrentPage}" />
    

    Then just define a user control that defines each page you want to see, FirstPage could be the code you pasted there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

JS beginner here. I need help with a script to place different content in
Okay here is a softball beginner WPF question. By default the background of the
I'm a beginner learning WPF, and need to create an Application Bar that launches
I am trying to implement a WPF MVVM application. And I am a beginner
How to profile a WPF application? I am a beginner C# developer, so I'm
I am a beginner with WPF, in my application I need to perform a
I´m actually programming a WPF-application. Now, I´m just a beginner in WPF and so
I am a beginner to WPF . I have a data grid for showing
I'm a complete beginner at WPF. I've made a usercontrol labeledTextbox that holds a
Beginner iOS dev here. I have a problem in my array. Im making an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.