IElement Interface |
Namespace: AskiaCore
The IElement type exposes the following members.
Name | Description | |
---|---|---|
AfterEnd |
HTML code to inject after the element end
| |
AfterStart |
HTML code to inject after the element start
| |
Attributes |
HTML attributes to add to the element
| |
BeforeEnd |
HTML code to inject before the element end
| |
BeforeStart |
HTML code to inject before the element start
| |
Children |
Children elements collection for the element
| |
Classes |
Classes to add to the element
| |
CreatedAt |
DateTime the record was created at
(Inherited from IRecordEntity.) | |
CreatedBy |
Id of the user which created the record
(Inherited from IRecordEntity.) | |
DeletedAt |
DateTime at which the record was last deleted
(Inherited from IRecordEntity.) | |
DeletedBy |
Id of the user which last deleted the record
(Inherited from IRecordEntity.) | |
ExtensionId |
Id of the extension (control or page template) related to the element
| |
ExtensionProperties |
Extension properties collection for the element
| |
FirstChild |
First child element
| |
Id |
Id of the record
(Inherited from IRecordEntity.) | |
LastChild |
Last child element
| |
LastError |
Last error that occurred
(Inherited from IRecordEntity.) | |
NextSibling |
Next sibling element
| |
NextSiblingId |
Next sibling Id
| |
Parent |
Parent element
| |
ParentId |
Id of the parent element
| |
Position |
Position of the element
| |
PrevSibling |
Previous sibling element
| |
PrevSiblingId |
Previous sibling Id
| |
QuestionId |
Id of the question related to the element
| |
Style |
Style to add to the element
| |
ThemeProperties |
Theme properties collection for the element
| |
Type |
Type of the element
| |
UpdatedAt |
DateTime at which the record was last updated
(Inherited from IRecordEntity.) | |
UpdatedBy |
Id of the user which last updated the record
(Inherited from IRecordEntity.) |
Name | Description | |
---|---|---|
ApplySurveyDefaultControlProperties |
Retrieves the corresponding default control properties
defined in the survey settings and apply them to the element
| |
Delete |
Deletes the record in the database
(Inherited from IRecordEntity.) | |
GetLanguageCaption |
Gets the caption text for a given language
| |
GetSurveyDefaultControlId |
Get the id of the corresponding default control defined in the survey settings
| |
IsDeleted |
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.) | |
IsLoaded |
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.) | |
IsReachable |
Defines if the element is reachable
| |
Reload |
Reloads the record
(Inherited from IRecordEntity.) | |
RenderControl |
Render the corresponding control for the specified interview
| |
RenderPage |
Render the corresponding page for the specified interview
| |
Restore |
Restores the deleted record in the database
(Inherited from IRecordEntity.) | |
Save |
Saves the record in the database
(Inherited from IRecordEntity.) | |
SetExtension |
Set the id of extension depending on the type of the element (Control or Page Template)
| |
SetLanguageCaption |
Sets the caption text for a given language
|