Table of Contents

Class LayoutBuilderNameValueBaseClass

Namespace
Contensive.BaseClasses.LayoutBuilder
Assembly
CPBase.dll
public abstract class LayoutBuilderNameValueBaseClass : LayoutBuilderBaseClass
Inheritance
LayoutBuilderNameValueBaseClass
Inherited Members

Constructors

LayoutBuilderNameValueBaseClass(CPBaseClass)

public LayoutBuilderNameValueBaseClass(CPBaseClass cp)

Parameters

cp CPBaseClass

Properties

formAction

[Obsolete("Deprecated. Not needed.", false)]
public abstract string formAction { get; set; }

Property Value

string

rowHelp

This is optional help text related to the row

public abstract string rowHelp { get; set; }

Property Value

string

rowHtmlId

When adding a name/value set, this is the HtmlId of the input element you supplied in the rowValue. used to link the caption

public abstract string rowHtmlId { get; set; }

Property Value

string

rowName

This is the caption for the row.

public abstract string rowName { get; set; }

Property Value

string

rowValue

This is the value for the row. It can be a text input, a checkbox, a select, or any other HTML element.

public abstract string rowValue { get; set; }

Property Value

string

Methods

addColumn()

After populating a row, optionally add a second column and populate its rowName, rowValue, rowHelp, rowHtmlId

public abstract void addColumn()

addRow()

Add a new row to a form without a header, then add rowName, rowValue and rowHelp. Then add a second column with addColumn or a new row with addRow.

public abstract void addRow()

addRow(string)

Add a new row to a form without a header, then add rowName, rowValue and rowHelp. Then add a second column with addColumn or a new row with addRow.

public abstract void addRow(string rowHeading)

Parameters

rowHeading string

addRow(string, string)

Add a new row to a form with a header, then add rowName, rowValue and rowHelp. Then add a second column with addColumn or a new row with addRow.

public abstract void addRow(string rowHeading, string instructions)

Parameters

rowHeading string
instructions string

closeFieldSet()

ends a fieldset started with openFieldSet.

public abstract void closeFieldSet()

openFieldSet(string)

A fieldset creates a border around all the rows added after the openFieldSet call, until the closeFieldSet call. Open a fieldset with a caption. The caption is used as the legend of the fieldset.

public abstract void openFieldSet(string caption)

Parameters

caption string