OrgChart for WinRT > OrgChart for WinRT Task- Based Help > Adding C1OrgChart to the Application |
Complete the following steps to add a C1OrgChart control to your application:
Markup Copy Code <Grid Name="LayoutRoot" Background="White"> <OrgChart:C1OrgChart Name="C1OrgChart1" /> </Grid>This will add a C1OrgChart control named "C1OrgChart1" to the application. If you run the application now, you will see a blank page.
You've successfully set up your application's user interface, but if you run your application now you'll see that the C1OrgChart control currently contains no content.
If the C1OrgChart control was installed to the Visual Studio Toolbox, simply double-clicking the icon or dragging the control onto a page will automatically perform the control-related steps above. |