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.

QuestionGroupTree class: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{CGscriptClass_Template
|Name=<nowiki>QuestionGroupTree</nowiki>
|Description=<nowiki>A question group in questionnaire.</nowiki>
|InheritsFrom=object|Methods=
{{CGscriptMethods_Template|ReturnType=Array of QuestionGroupTree|Name=<nowiki>GetChildGroups</nowiki>|Description=<nowiki>Return all child groups, if empty then it is a leaf.</nowiki>}}
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}
|Properties=
{{CGscriptProperties_Template|ReturnType=Array of strings|Name=<nowiki>AllQuestions</nowiki>|HasGetter=1|Description=<nowiki>Labels of all questions in this group</nowiki>}}
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>Count</nowiki>|HasGetter=1|Description=<nowiki>How many children in this group</nowiki>}}
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>GroupName</nowiki>|HasGetter=1|Description=<nowiki>Name of question group</nowiki>}}
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>The name of the type of object.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>SequenceType</nowiki>|HasGetter=1|Description=<nowiki>Which kind of question group is it</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
}}
[[Category:Archive]]
[[Category:Archive]]
QuestionGroupTree is the parent class of [[QuestionGroupBranch class|QuestionGroupBranch]] and [[QuestionGroupLeaf class|QuestionGroupLeaf]]

Revision as of 08:04, 2 July 2020

QuestionGroupTree



A question group in questionnaire.

Parent class

Inherits from object

Methods

  • Array of QuestionGroupTree GetChildGroups() - Return all child groups, if empty then it is a leaf.
  • (From object) string ToString() - The string representation of the object.

Properties

  • Array of string AllQuestions { get; } - Labels of all questions in this group
  • int Count { get; } - How many children in this group
  • string GroupName { get; } - Name of question group
  • (From object) string ObjectTypeName { get; } - The name of the type of object.
  • string SequenceType { get; } - Which kind of question group is it
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.