Scheduler for UWP | ComponentOne
Quick Start / Step 1 of 4: Setting Up the Application
In This Topic
    Step 1 of 4: Setting Up the Application
    In This Topic

    In this step, you'll set up your Universal Windows application and add a C1Scheduler control. For more information on creating a UWP style application, see Creating a UWP Style Application.

    Complete these steps:

    1. In Visual Studio, select File -> New -> Project. This will open the New Project dialog window.
    2. Select Templates | Visual C# | Windows | Universal. From the templates list, select Blank App (Universal Windows).
    3. Give your application a name and click OK. Your application will open.
    4. Locate your application in the Solution Explorer. Right-click the References folder and select Add New Reference from the context menu.
    5. Expand Universal Windows and select Extensions; you should see the UWP Assemblies in the center pane. Select the following assemblies and click OK:
      • C1.UWP
      • C1.UWP.Calendar
      • C1.UWP.DateTimeEditors
      • C1.UWP.Schedule

    6. Double-click your MainPage.xaml page to open it. Add the following XAML namespace to your opening <Page> tag:
      Copy Code

      The whole <Page> tag should resemble the following:

      Copy Code

    7. Add the following markup to the <Grid> tag to add the C1Scheduler control to the application:
      Copy Code
      <Schedule:C1Scheduler Name="sched1" ViewType="Month" Grid.Row="1" Height="500" Width="650"></Schedule:C1Scheduler>

    What You've Accomplished

    In this topic, you created a Universal Windows application, added assembly references, and added a C1Scheduler control to your application. In the next step, you'll add more XAML markup to your application, adding buttons to control the control's view.

    See Also