ComponentOne TileControl for WinForms
In This Topic
    TileControl Groups
    In This Topic

    TileControl Groups are of the type Group class. A TileControl can have one or more groups. Each group can have one or more tiles of the type Tile class. Each group may include a caption that represents the name for the group. The groups caption is specified by the Text property. The group captions font, forecolor, padding, text size, and position can be modified. The groups caption can also be bolded.

    A group arranges its items according to the Orientation property. The spaces between the groups can be specified through the GroupSpacing property so a different group can appear detached from the other group.

    A Group can be added to the C1TileControl at design time through the C1TileControl.Groups Collection Editor or programmatically through the Groups property. When a Group is added to the designer it will appear empty on the C1TileControl. You will need to add tiles to the group. The tiles can be added by clicking on the ellipsis button next to the Tiles property and clicking the Add button. Once the tiles are added the default group caption will appear. To see how to add groups to a C1TileControl see Adding Groups to the C1TileControl.

    The following image illustrates the effects of the Groups appearance properties:


    The C1TileControl Groups appearance and layout properties are listed in the table below:

    Property Description

    GroupFont

    Specifies the font for group captions.

    GroupForeColor

    Specifies the foreground color of a group caption.

    GroupPadding

    The interior spacing of a tile group.

    GroupTextBold

    Indicates whether the group caption font is bold. This property takes precedence over the GroupFont properties.

    GroupTextSize

    Specifies the font size for the group captions. This property takes precedence over the GroupFont properties. The default text size is 15 pixels.

    GroupTextX

    Specifies the horizontal offset of a group caption. The default horizontal offset size is 20 pixels.

    GroupTextY

    Specifies the vertical offset of a group caption. The default vertical offset size is 5 pixels.