The Tile class represents a single Tile which can hold several types of elements such as images (ImageElement), text (TextElement), and panels (PanelElement). The Tiles are one of the most important component of the TileControl; they are responsible for the data. The Tiles in the TileControl in their simplest form appear like button controls. The images, text, and panels can be easily be formatted through the properties.
A Tile can be added to the C1TileControl at design time through the Group.Tiles Collection Editor or programmatically through the Tiles property. When a Tile is added to the designer it will be added to the specified group of the C1TileControl. A single group appears by default so you can easily start adding the tiles into the group. The tiles can be added at design time by clicking on the ellipsis button next to the Tiles property and clicking the Add button. To see how to add tiles to a specific group in the C1TileControl see Adding Tiles to a Specific Group.
The following image illustrates the effects of a few of the Tiles appearance properties:
The C1TileControl Groups appearance and layout properties are listed in the table below:
Property | Description |
---|---|
Gets or sets the background color for the tile. |
|
Gets or sets the first additional background color for the tile. |
|
Gets or sets the second additional background color for the tile. |
|
Gets or sets the third additional background color for the tile. |
|
Gets or sets the fourth additional background color for the tile. |
|
Gets or sets the fifth additional background color for the tile. |
|
Gets or sets whether the tile is checked. |
|
Gets or sets the foreground color for the tile. |
|
Gets or sets the first additional foreground color for the tile. |
|
Gets or sets the second additional foreground color for the tile. |
|
Gets or sets the third additional foreground color for the tile. |
|
Gets or sets the fourth additional foreground color for the tile. |
|
Gets or sets the fifth additional foreground color for the tile. |
|
Gets or sets the height of the tile, in pixels. |
|
Gets or sets the width of the tile, in pixels. |
|
Gets or sets an image displayed on the tile. |
|
Gets or sets the first additional image that can be displayed on the tile. |
|
Gets or sets the second additional image that can be displayed on the tile. |
|
Gets or sets the third additional image that can be displayed on the tile. |
|
Gets or sets the fourth additional image that can be displayed on the tile. |
|
Gets or sets the fifth additional image that can be displayed on the tile. |
|
Gets or sets a symbol associated with the tile. |
|
Gets or sets the tile template. |
|
Gets or sets the text on the tile. |
|
Gets or sets the first additional text string for the tile. |
|
Gets or sets the second additional text string for the tile. |
|
Gets or sets the third additional text string for the tile. |
|
Gets or sets the fourth additional text string for the tile. |
|
Gets or sets the fifth additional text string for the tile. |
|
Gets or sets the sixth additional text string for the tile. |
|
Gets or sets the seventh additional text string for the tile. |
|
Gets or sets the eighth additional text string for the tile. |
|
Gets or sets the ninth additional text string for the tile. |
|
Gets or sets the tooltip text for the tile. |
|
Gets or sets the height of the tile, in cells. |
|
Gets the width of the tile, in pixels. |
The TileControl Tiles can include the following elements:
Images The images are represented by the class, ImageElement.
Panels The panels are represent by the class, PanelElement.
Text The text is represent the by class, TextElement.