C# Class OKHOSTING.UI.Controls.Forms.Form

It represents a form to store content. Representa un formulario para almacenar contenido.

Inheritance: IDisposable
Exibir arquivo Open project: okhosting/OKHOSTING.UI Class Usage Examples

Public Properties

Property Type Description
Fields List

Public Methods

Method Description
DataBind ( ) : void

Creates all cells and controls based on the Fields collection Crea todas las celdas y los controles basados en la coleccion de campos.

Dispose ( ) : void

Releases resources for each field. Libera los recursos de cada campo.

this ( string fieldName ) : FormField

Searches for a field with the specified Id Busca un campo con Id especificado.

Protected Methods

Method Description
CreateCategoryRow ( string category, IGrid grid ) : void

Creates a division row with a category name Crea una fila de divición con el nombre de una categoria.

CreateTableWideRow ( FormField field, IGrid grid ) : void

Creates a row that includes a label and another row for the value of a TableWide field Crea una fila que incluye una etiqueta y otra fila para el valor de un campo TableWide.

Method Details

CreateCategoryRow() protected method

Creates a division row with a category name Crea una fila de divición con el nombre de una categoria.

protected CreateCategoryRow ( string category, IGrid grid ) : void
category string Name of the category /// Nombre de la categooria. ///
grid IGrid
return void

CreateTableWideRow() protected method

Creates a row that includes a label and another row for the value of a TableWide field Crea una fila que incluye una etiqueta y otra fila para el valor de un campo TableWide.

protected CreateTableWideRow ( FormField field, IGrid grid ) : void
field FormField FormField that will be included in these rows
grid IGrid
return void

DataBind() public method

Creates all cells and controls based on the Fields collection Crea todas las celdas y los controles basados en la coleccion de campos.

public DataBind ( ) : void
return void

Dispose() public method

Releases resources for each field. Libera los recursos de cada campo.

public Dispose ( ) : void
return void

this() public method

Searches for a field with the specified Id Busca un campo con Id especificado.

public this ( string fieldName ) : FormField
fieldName string Id of the field to be searched /// Id del campo que va a ser buscado. ///
return FormField

Property Details

Fields public_oe property

Collection of fields that will be displayed in the current form Colección de campos que se mostarara en el formulario actual.

public List Fields
return List