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

An item that will be displayed in the dataform Un elemento que se muestra en el dataform

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

Public Methods

Method Description
CreateFieldFrom ( Type type ) : FormField

Creates a field that will contain a value of a specific type Crea un campo que contendra un valor de un tipo especifico.

Dispose ( ) : void

Releases all resource used by the FormField object. Libera todos los recursos utilizados por el objeto de campo de formulario.

Call Dispose when you are finished using the FormField. The Dispose method leaves the FormField in an unusable state. After calling Dispose, you must release all references to the FormField so the garbage collector can reclaim the memory that the FormField was occupying. Llame a Dispose cuando termine de usar el FormField. El método Dispose deja el FormField en un estado inutilizable. Después de llamar a Dispose, debe liberar todas las referencias al FormField por lo que el recolector de basura puede reclamar la memoria que el FormField ocupaba.

FormField ( ) : OKHOSTING.Core

Initializes a new instance of the FormField class. Inicializa una nueva instancia de la clase FormField

ToString ( ) : string

Returns the field's Id Devuelve el Id del campo

Protected Methods

Method Description
CreateValueControl ( ) : void

Creates the controls for displaying the field Crea los controles para visualizar el campo.

Method Details

CreateFieldFrom() public static method

Creates a field that will contain a value of a specific type Crea un campo que contendra un valor de un tipo especifico.

public static CreateFieldFrom ( Type type ) : FormField
type System.Type
return FormField

CreateValueControl() protected abstract method

Creates the controls for displaying the field Crea los controles para visualizar el campo.

protected abstract CreateValueControl ( ) : void
return void

Dispose() public method

Releases all resource used by the FormField object. Libera todos los recursos utilizados por el objeto de campo de formulario.

Call Dispose when you are finished using the FormField. The Dispose method leaves the FormField in an unusable state. After calling Dispose, you must release all references to the FormField so the garbage collector can reclaim the memory that the FormField was occupying. Llame a Dispose cuando termine de usar el FormField. El método Dispose deja el FormField en un estado inutilizable. Después de llamar a Dispose, debe liberar todas las referencias al FormField por lo que el recolector de basura puede reclamar la memoria que el FormField ocupaba.

public Dispose ( ) : void
return void

FormField() public method

Initializes a new instance of the FormField class. Inicializa una nueva instancia de la clase FormField

public FormField ( ) : OKHOSTING.Core
return OKHOSTING.Core

ToString() public method

Returns the field's Id Devuelve el Id del campo

public ToString ( ) : string
return string