ComponentOne TileView for UWP
TileView for UWP Task-Based Help / Adding C1TileView to the Application
In This Topic
    Adding C1TileView to the Application
    In This Topic

    In this topic you'll add a C1TileView control to your application. Complete the following steps:

    1. In Visual Studio select File | New | Project.
    2. In the New Project dialog box, select Templates | Visual C# | Windows | Universal. From the templates list, select Blank App (Universal Windows). Enter a Name and click OK to create your project.
    3. Open MainPage.xaml if it isn't already open, place the cursor between the <Grid> and </Grid> tags, and click once.
    4. Navigate to the Toolbox and double-click the C1TileView icon to add the control to the grid. This will add the reference and XAML namespace automatically. The XAML markup resembles the following:
    Markup
    Copy Code
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
            <TileView:C1TileView HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100"/>
        </Grid>
    

    What You've Accomplished

    You've successfully set up your application's user interface, but if you run your application now you'll see that the C1TileView control currently contains no content. See the Adding Items to C1TileView topic for more information.

    If the C1TileView control was installed to the Visual Studio Toolbox, simply dragging the control onto a page will automatically perform all the steps above.
    See Also