Scheduler for WPF and Silverlight | ComponentOne
Scheduler Components and Controls / Data-centric Architecture with Silverlight / The Sample Application / Create the UI
In This Topic
    Create the UI
    In This Topic

    The user interface will contain a schedule.

    To create the user interface, open the MainPage.xaml file and in Source view copy the following XAML onto the page:

    XAML
    Copy Code
    <UserControl
        x:Class="BindingScheduler.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:c1sched="clr-namespace:C1.Silverlight.Schedule;assembly=C1.Silverlight.Schedule" 
        xmlns:c1="clr-namespace:C1.Silverlight;assembly=C1.Silverlight"
        mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
      <Grid x:Name="LayoutRoot">
    
    <c1sched:C1Scheduler></c1sched:C1Scheduler>
     </Grid>
    </UserControl>
    

    Try running the application now to make sure everything is OK so far. You should see an empty schedule.