# Setting the Initial Page

## Content



The [C1Book.CurrentPage](/componentone/api/wpf/online-extended/dotnet-framework-api/C1.WPF.Extended.4.6.2/C1.WPF.Extended.C1Book.CurrentPage.html) property gets or sets the value of the C1Book control's current page. By default the C1Book control starts with the first page displayed but you can customize this by setting the C1Book.CurrentPage property at design time, in XAML, and in code.

**At Design Time**

To set the C1Book.CurrentPage property to **3** at design time, complete the following steps:

1.  Click the C1Book control once to select it.
2.  Navigate to the Properties window and click in the text box next to the CurrentPage item.
3.  Enter a number, for example "3", for the displayed initial page.

**In XAML**

For example, to set the C1Book.CurrentPage property to **3**, add CurrentPage="3" to the <c1:C1Book> tag so that it appears similar to the following:

```xml
<c1:C1Book x:Name="C1Book1" Height="300" Width="450" CurrentPage="3">
```

**In Code**

For example, to set the C1Book.CurrentPage property to **3**, add the following code to your project:

```vbnet
Me.C1Book1.CurrentPage = 3
```

```csharp
this.c1Book1.CurrentPage = 3;
```

**What You've Accomplished**

You've changed the book's initial starting page. If you run the application, the initial page that appears will be page 3.
