C1Elastic Reference > C1Elastic Properties > Template Property (C1Elastic) |
Sets a number of other properties to achieve a pre-defined look.
[form!]C1Elastic.Template = ElasticTemplateSettings
The Template property provides a convenient way to customize several other properties at once. You may choose the template that most closely approximates the look and feel you want, then refine it further by adjusting other properties.
Setting the Template property sets the following properties:
Property |
tpDataEntry |
tpToolbar |
tpStatusLine |
Align |
asNone |
asTop |
asBottom |
AutoSizeChildren |
azEvenVert |
azEvenHorz |
azEvenHorz |
BorderWidth |
6 |
6 |
6 |
CaptionPos |
cpLeftCenter |
cpLeftCenter |
cpLeftCenter |
ChildSpacing |
4 |
1 |
1 |
MaxChildSize |
0 |
400 |
400 |
MinChildSize |
0 |
400 |
400 |
PicturePos |
cpCenterCenter |
cpCenterCenter |
cpCenterCenter |
Style |
esClassic |
esClassic |
esClassic |
TagWidth |
-100 |
0 |
0 |
This property is write-only. After you select a template at design-time, the value shown in the Properties Window will automatically revert to 0 - tpNone.
ElasticTemplateSettings (Enumeration)