ComponentOne Scheduler for WPF and Silverlight
Silverlight Quick Start / Step 2 of 4: Setting the Data View
In This Topic
    Step 2 of 4: Setting the Data View
    In This Topic

    In this step you will select use one of the predefined data views.

    1. In the Visual Studio Project menu, select Add Reference.
    2. Browse to find the C1.Silverlight.dll and C1.Silverlight.Schedule.dll. These .dlls are installed by default in the C:\Program Files\ComponentOne\Silverlight Edition folder; however, they may appear elsewhere depending on where you installed the product. Click OK once you've selected these .dlls.
    3. Double-click the MainPage.xaml file in the Visual Studio Solution Explorer.
    4. Add the Scheduler control from the toolbox to the MainPage.xaml.
    5. Add XAML markup so the MainPage.xaml XAML looks like the following:
      Copy Code
          xmlns:d="" xmlns:mc=
          mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
          <Grid x:Name="LayoutRoot">
              <c1:C1Scheduler x:Name="sched1" Style="{Binding OneDayStyle, RelativeSource={RelativeSource Self}}"/>

    When you run the project, it will show a schedule in Day View. In the next step, you will add navigation buttons.