C# Class AODL.Document.Forms.ODFForm

Summary description for ODFForm.
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
FindControlById ( string id, bool searchInSubforms ) : ODFFormControl

Looks up a control by its ID

FindControlByName ( string name, bool searchInSubforms ) : ODFFormControl

Looks up a control by its name

FixPropertyCollection ( ) : void
GetFormProperty ( string name ) : FormProperty

Gets the generic form property by its name

ODFForm ( IDocument document, string name ) : System

Creates an ODFForm

ODFForm ( XmlNode node, IDocument document ) : System
RestoreControlEvents ( ) : void
SuppressControlEvents ( ) : void
SuppressPropertyEvents ( ) : void

Private Methods

Method Description
ControlsCollection_Clearing ( ) : void
ControlsCollection_Inserted ( int index, object value ) : void
ControlsCollection_Removed ( int index, object value ) : void
CreateBasicNode ( ) : void
FormCollection_Inserted ( int index, object value ) : void
FormCollection_Removed ( int index, object value ) : void
PropertyCollection_Inserted ( int index, object value ) : void
PropertyCollection_Removed ( int index, object value ) : void
RestorePropertyEvents ( ) : void

Method Details

FindControlById() public method

Looks up a control by its ID
public FindControlById ( string id, bool searchInSubforms ) : ODFFormControl
id string Control ID
searchInSubforms bool Specifies whether to look in the subforms
return AODL.Document.Forms.Controls.ODFFormControl

FindControlByName() public method

Looks up a control by its name
public FindControlByName ( string name, bool searchInSubforms ) : ODFFormControl
name string
searchInSubforms bool Specifies whether to look in the subforms
return AODL.Document.Forms.Controls.ODFFormControl

FixPropertyCollection() public method

public FixPropertyCollection ( ) : void
return void

GetFormProperty() public method

Gets the generic form property by its name
public GetFormProperty ( string name ) : FormProperty
name string Generic form property
return FormProperty

ODFForm() public method

Creates an ODFForm
public ODFForm ( IDocument document, string name ) : System
document IDocument Parent document
name string Form name
return System

ODFForm() public method

public ODFForm ( XmlNode node, IDocument document ) : System
node System.Xml.XmlNode
document IDocument
return System

RestoreControlEvents() public method

public RestoreControlEvents ( ) : void
return void

SuppressControlEvents() public method

public SuppressControlEvents ( ) : void
return void

SuppressPropertyEvents() public method

public SuppressPropertyEvents ( ) : void
return void