[]
Defines a custom template for tiles.
public class Template : Component, IComponent, IDisposable, ICloneable
Name | Description |
---|---|
Template() | Initializes a new instance of a Template. |
Name | Description |
---|---|
BackColor | Gets or sets the background color for tiles drawn with this template. |
BackColorSelector | Gets or sets a value indicating which property of a Tile object behaves as the source of background color for this template. |
DefaultHorizontalSize | Gets or sets the default width of an auto-generated tile, in cells. |
DefaultVerticalSize | Gets or sets the default height of an auto-generated tile, in cells. |
Description | Gets or sets the description for this Template. |
Elements | Gets the collection of template elements. |
Enabled | Gets or sets whether the associated tile is enabled, i.e. it can be pressed, checked, or moved by the end user. |
EnabledSelector | Gets or sets a value indicating which integer property of a Tile object is checked to determine whether the tile is enabled, if the property value is not equal to zero. |
IsDefault | Gets a value indicating if this is the default template for a C1TileControl. |
IsDisposed | Gets a value indicating whether the Template has been disposed. |
Name | Gets or sets the unique name for this Template. |
Padding | Gets or sets the interior spacing of the Template. |
Slides | Gets the collection of template slides. |
TileControl | Gets the owner C1TileControl. |
TopmostElements | Gets the collection of elements that appear above all slides. |
Name | Description |
---|---|
Clone() | Creates a new Template that is a copy of the current instance. |
CloneTemplate() | Creates a copy of the current Template. |
Dispose(bool) | Clean up any resources being used. |
OnPaint(TemplatePaintEventArgs) | Raises the Paint event. |
ResetBackColor() | Resets the value of the BackColor property. |
ResetDescription() | Resets the value of the Description property. |
ResetPadding() | Resets the value of the Padding property. |
ShouldSerializeDescription() | |
ShouldSerializePadding() |
Name | Description |
---|---|
Paint | Occurs when the template is used for drawing a tile. |