ComponentOne TileControl for WinForms
TileControl for WinForms Task-Based Help / Adding Elements to a Template
In This Topic
    Adding Elements to a Template
    In This Topic

    Template elements can be created at design time or programmatically. At design time they can be created using the C1TileControl.Templates Collection Editor. Template elements can also be created programmatically through the TemplateCollection class. The template can be inserted into the TemplateCollection at the specified index using the InsertItem method.

    Design Time

    To add elements to the template at design time, complete the following:

    1. Select the C1TileControl and click on its smart tag to open the C1TileControl Tasks menu.
    2. Select Edit Tiles.

      The C1TileControl.Templates Collection Editor editor appears.

    3. Click Add to add a template to the Members list.
    4. Select the ellipsis button next to the Elements property. The Template.Elements Collection Editor appears.
    5. Click on the dropdown arrow and select the PanelElement twice. Two panels are added to the template.