Table of Contents

Class SurveyQuestion

Namespace
InSite.Domain.Surveys.Forms
Assembly
Shift.Sdk.dll
public class SurveyQuestion
Inheritance
SurveyQuestion
Inherited Members
Extension Methods

Constructors

SurveyQuestion()

public SurveyQuestion()

SurveyQuestion(Guid)

public SurveyQuestion(Guid identifier)

Parameters

identifier Guid

Properties

Attribute

Name of the field in which to store answers to this question in a respondent's user account.

public string Attribute { get; set; }

Property Value

string

Code

Reference code assigned to the question.

public string Code { get; set; }

Property Value

string

Content

The multilingual Text and/or HTML content for this option.

public ContentContainer Content { get; set; }

Property Value

ContentContainer

ContentLabels

public static string[] ContentLabels { get; }

Property Value

string[]

EnableCreateCase

public bool EnableCreateCase { get; set; }

Property Value

bool

Form

The container for the question.

public SurveyForm Form { get; set; }

Property Value

SurveyForm

HasInput

public bool HasInput { get; }

Property Value

bool

Identifier

Uniquely identifies the question.

public Guid Identifier { get; set; }

Property Value

Guid

Indicator

Bootstrap CSS class indicator used to style the Code.

public string Indicator { get; set; }

Property Value

string

IsHidden

public bool IsHidden { get; set; }

Property Value

bool

IsList

public bool IsList { get; }

Property Value

bool

IsNested

public bool IsNested { get; set; }

Property Value

bool

IsRequired

public bool IsRequired { get; set; }

Property Value

bool

Letter

Returns an alphabetic equivalent for the integer sequence (e.g. A = 1, B = 2, C = 3).

public string Letter { get; }

Property Value

string

LikertAnalysis

public string LikertAnalysis { get; set; }

Property Value

string

ListDisableColumnHeadingWrap

public bool ListDisableColumnHeadingWrap { get; set; }

Property Value

bool

ListEnableBranch

public bool ListEnableBranch { get; set; }

Property Value

bool

ListEnableGroupMembership

public bool ListEnableGroupMembership { get; set; }

Property Value

bool

ListEnableOtherText

public bool ListEnableOtherText { get; set; }

Property Value

bool

ListEnableRandomization

public bool ListEnableRandomization { get; set; }

Property Value

bool

ListSelectionRange

public SurveyQuestionListSelectionRange ListSelectionRange { get; }

Property Value

SurveyQuestionListSelectionRange

NumberAutoCalcQuestions

public Guid[] NumberAutoCalcQuestions { get; set; }

Property Value

Guid[]

NumberEnableAutoCalc

public bool NumberEnableAutoCalc { get; set; }

Property Value

bool

NumberEnableNotApplicable

public bool NumberEnableNotApplicable { get; set; }

Property Value

bool

NumberEnableStatistics

public bool NumberEnableStatistics { get; set; }

Property Value

bool

Options

The options contained by the question.

public SurveyOptionTable Options { get; set; }

Property Value

SurveyOptionTable

Page

The page of the question

public SurveyPage Page { get; }

Property Value

SurveyPage

Scales

The scales defined for the question.

public List<SurveyScale> Scales { get; set; }

Property Value

List<SurveyScale>

Sequence

The ordinal position of this question in the form that contains it.

public int Sequence { get; }

Property Value

int

Source

Where did this question come from?

public string Source { get; set; }

Property Value

string

TextCharacterLimit

public int? TextCharacterLimit { get; set; }

Property Value

int?

TextLineCount

public int? TextLineCount { get; set; }

Property Value

int?

Type

What type of question is this?

public SurveyQuestionType Type { get; set; }

Property Value

SurveyQuestionType

Methods

Clone()

public SurveyQuestion Clone()

Returns

SurveyQuestion

DisplayAnswerInput()

public bool DisplayAnswerInput()

Returns

bool

FlattenOptionItems()

public SurveyOptionItem[] FlattenOptionItems()

Returns

SurveyOptionItem[]

GetIndicatorStyleName()

public string GetIndicatorStyleName()

Returns

string

RemoveOrphanScales()

public void RemoveOrphanScales()

ShouldSerializeContent()

public bool ShouldSerializeContent()

Returns

bool

ShouldSerializeIsHidden()

public bool ShouldSerializeIsHidden()

Returns

bool

ShouldSerializeOptions()

public bool ShouldSerializeOptions()

Returns

bool

ShouldSerializeScales()

public bool ShouldSerializeScales()

Returns

bool