Extended Library for UWP | ComponentOne
Extended Library Overview / Book for UWP / Book for UWP Task-Based Help / Displaying the First Page on the Right
In This Topic
    Displaying the First Page on the Right
    In This Topic

    The C1Book.IsFirstPageOnTheRight property defines how the first page is displayed, whether it is on the right side or the left side. See First Page Display for more information. By default the C1Book control starts with the first page displayed on the left and two pages displayed, but you can customize this by setting the C1Book.IsFirstPageOnTheRight property in XAML and in code.

    In XAML

    For example, to set the C1Book.IsFirstPageOnTheRight property, add IsFirstPageOnTheRight="True" to the <Extended:C1Book> tag so that it appears similar to the following:

    Markup
    Copy Code
    <Extended:C1Book Name="c1book1" Height="300" Width="450" IsFirstPageOnTheRight="True">
    

    In Code

    For example, to set the C1Book.IsFirstPageOnTheRight property, add the following code to your project in the page's constructor:

    Visual Basic
    Copy Code
    c1book1.IsFirstPageOnTheRight = True
    

    C#
    Copy Code
    c1book1.IsFirstPageOnTheRight = true;
    

    What You've Accomplished

    You've set the first page to appear on the right. If you run the application, the first page will appear as a single page, like the book's cover:

    See Also