Click or drag to resize
Askia

IElement Interface

Element interface

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public interface IElement : IRecordEntity

The IElement type exposes the following members.

Properties
  NameDescription
Public propertyAfterEnd
HTML code to inject after the element end
Public propertyAfterStart
HTML code to inject after the element start
Public propertyAttributes
HTML attributes to add to the element
Public propertyBeforeEnd
HTML code to inject before the element end
Public propertyBeforeStart
HTML code to inject before the element start
Public propertyChildren
Children elements collection for the element
Public propertyClasses
Classes to add to the element
Public propertyCreatedAt
DateTime the record was created at
(Inherited from IRecordEntity.)
Public propertyCreatedBy
Id of the user which created the record
(Inherited from IRecordEntity.)
Public propertyDeletedAt
DateTime at which the record was last deleted
(Inherited from IRecordEntity.)
Public propertyDeletedBy
Id of the user which last deleted the record
(Inherited from IRecordEntity.)
Public propertyExtensionId
Id of the extension (control or page template) related to the element
Public propertyExtensionProperties
Extension properties collection for the element
Public propertyFirstChild
First child element
Public propertyId
Id of the record
(Inherited from IRecordEntity.)
Public propertyLastChild
Last child element
Public propertyLastError
Last error that occurred
(Inherited from IRecordEntity.)
Public propertyNextSibling
Next sibling element
Public propertyNextSiblingId
Next sibling Id
Public propertyParent
Parent element
Public propertyParentId
Id of the parent element
Public propertyPosition
Position of the element
Public propertyPrevSibling
Previous sibling element
Public propertyPrevSiblingId
Previous sibling Id
Public propertyQuestionId
Id of the question related to the element
Public propertyStyle
Style to add to the element
Public propertyThemeProperties
Theme properties collection for the element
Public propertyType
Type of the element
Public propertyUpdatedAt
DateTime at which the record was last updated
(Inherited from IRecordEntity.)
Public propertyUpdatedBy
Id of the user which last updated the record
(Inherited from IRecordEntity.)
Top
Methods
  NameDescription
Public methodApplySurveyDefaultControlProperties
Retrieves the corresponding default control properties defined in the survey settings and apply them to the element
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodGetLanguageCaption
Gets the caption text for a given language
Public methodGetSurveyDefaultControlId
Get the id of the corresponding default control defined in the survey settings
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodIsReachable
Defines if the element is reachable
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodRenderControl
Render the corresponding control for the specified interview
Public methodRenderPage
Render the corresponding page for the specified interview
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Public methodSetExtension
Set the id of extension depending on the type of the element (Control or Page Template)
Public methodSetLanguageCaption
Sets the caption text for a given language
Top
See Also