Table of Contents

Class CheckboxListComponent

Namespace: Casewhere.Models.FormBuilder.Components
Assembly: Casewhere.Models.dll

Represents a checkbox list component in a form.

public class CheckboxListComponent : FormDataComponent, INgModelOptions

Inheritance

objectFormComponentFormDataComponentCheckboxListComponent

Implements

INgModelOptions

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<CheckboxListComponent>(CheckboxListComponent)

Constructors

CheckboxListComponent()

public CheckboxListComponent()

Properties

ClientReadOnly

Gets or sets the client-side read-only rule for the checkbox list.

public string ClientReadOnly { get; set; }

Property Value

string

DataSource

Gets or sets the data source for the checkbox list. If a data source is configured, the option items will be ignored.

public ListComponentDataSource DataSource { get; set; }

Property Value

ListComponentDataSource

DisplayType

Gets or sets the display type of the checkbox list.

public CheckboxDisplayType DisplayType { get; set; }

Property Value

CheckboxDisplayType

ListHeight

Gets or sets the height of the checkbox list.

public int ListHeight { get; set; }

Property Value

int

MultiSelectSettings

Custom settings for the multi select component

public MultiSelectSettings MultiSelectSettings { get; set; }

Property Value

MultiSelectSettings

OptionItems

Gets or sets the list of option items for concrete values that are not associated with data objects. If a data source is configured, the option items will be ignored.

public IList<OptionItem> OptionItems { get; set; }

Property Value

IList<OptionItem>

Parameters

If data source has a parameter, the data source data binding is used to config it

public IList<ComponentDataBinding> Parameters { get; set; }

Property Value

IList<ComponentDataBinding>

ReadOnly

Gets or sets the read-only rule for the checkbox list.

public ReadOnlyRule ReadOnly { get; set; }

Property Value

ReadOnlyRule