|
|
Initializes a new instance of the TemplateHolder class. |
| Gets or sets the custom content for the edit user interface. This template is rendered when new data should be entered by user or existing data should be edited. | |
| Gets or sets the custom content for the label user interface. If LabelTemplateID is specified then the label template of the referenced LabelHolder is used instead of this label template. | |
| Gets or sets the ID of a LabelHolder control. When this this property is specified the referenced LabelHolder's LabelTemplate is used instead of the own LabelTemplate. | |
| Gets or sets the ID of a LayoutHolder control, which LayoutTemplate is used for creating the layout of the label part and content part. | |
| Specifies if the primary key fields should be readonly in update mode. The ReadOnlyTemplate will be used instead of EditTemplate. The default value is true. | |
| Gets or sets the custom content for the edit user interface. This template is rendered when the data should be displayed to the user. | |
| Gets or sets a value that indicates if this template is able to handle foreign-key data columns. If set to true then additional meta data properties are available during data bind. Of Course foreign-key properties are available only when the data column participates in a foreign-key relation. | |
| Specifies if the ReadOnlyTemplate template should always be used for readonly fields. If true the ReadOnlyTemplate will be used instead of EditTemplate. The default value is true. | |
| Specifies if when inserting new data the ReadOnlyTemplate should be used instead of EditTemplate. This for example is appropriate when this TemplateHolder is intended for editing autoincrement columns. | |
| Specifies if when updating existing data the ReadOnlyTemplate should be used instead of EditTemplate. This for example is appropriate when this TemplateHolder is intended for editing primary key columns. |
| Occurs when the containing SmartDBControl sends custom command to this template holder. | |
| Occurs during data extraction. The hadler should extract the value from the template's controls and set it to Value. |
| Raises the CustomCommand event | |
| protected Raises the ExtractingValues event |
TemplateHolder Class | Adillis.SmartDBForms.Templates Namespace