Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

QuestionnaireLayout class

From Catglobe Wiki
Revision as of 05:10, 2 July 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

QuestionnaireLayout



A layout for a questionnaire.

Parent class

Inherits from object

Constructors

  • (int resourceId "ResourceId of existing QuestionnaireLayout.") - Fetch existing QuestionnaireLayout.
  • (string name "Resource name.", int parentResourceId "Parent resource.") - Create new QuestionnaireLayout.

Methods

  • Empty Save() - Save the QuestionnaireLayout
  • (From object) string ToString() - The string representation of the object.

Properties

  • string Css { get; set; } - The Css of the QuestionnaireLayout
  • string Description { get; set; } - Description of the QuestionnaireLayout
  • string Html { get; set; } - The Html of the QuestionnaireLayout
  • string ObjectTypeName { get; } - The name of the type of object.
  • int ResourceId { get; } - The Id of the Resource
  • string ResourceName { get; } - The name of the Resource
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.


Examples

number parentId = 1234;
QuestionnaireLayout l = new QuestionnaireLayout("Test layout", parentID);
l.Html = "<div id='questioncontent'>[[QUESTION]]</div><div id='navigationbar'>[[NAVIGATION]]</div>";
l.Css = ".cg-ui-question > .cg-ui-text {font-weight: bold;}";
l.Save();
l.ResourceId;