<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="CustomToolbar.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <c1:C1ToolbarStrip>
            <c1:C1ToolbarButton Content="First" Command="{Binding FirstPageCommand,ElementName=reportViewer}" />
            <c1:C1ToolbarButton Content="Previous" Command="{Binding PreviousPageCommand,ElementName=reportViewer}" />
            <ContentPresenter Content="{Binding PageNumber,ElementName=reportViewer}" />
            <TextBlock Text="/" />
            <ContentPresenter Content="{Binding PageCount,ElementName=reportViewer}" />
            <c1:C1ToolbarButton Content="Next" Command="{Binding NextPageCommand,ElementName=reportViewer}" />
            <c1:C1ToolbarButton Content="Last" Command="{Binding LastPageCommand,ElementName=reportViewer}" />
            <ComboBox SelectedItem="{Binding Zoom,ElementName=reportViewer,Mode=TwoWay}">
                <sys:Double>0.5</sys:Double>
                <sys:Double>1</sys:Double>
                <sys:Double>1.5</sys:Double>
            </ComboBox>
        </c1:C1ToolbarStrip>
        <c1:C1ReportViewer x:Name="reportViewer" Grid.Row="1" ToolbarVisibility="Collapsed" />
    </Grid>
</UserControl>