C# Class AODL.Document.Forms.Controls.ODFListBox

Inheritance: ODFFormControl
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
FixOptionCollection ( ) : void
GetOptionByLabel ( string lbl ) : ODFOption

Looks for a specified option by its label

GetOptionByValue ( string val ) : ODFOption

Looks for a specified option by its value

ODFListBox ( ODFForm ParentForm, ContentCollection contentCollection, string id ) : System

Creates an ODFListBox

ODFListBox ( ODFForm ParentForm, ContentCollection contentCollection, string id, string x, string y, string width, string height ) : System

Creates an ODFListBox

ODFListBox ( ODFForm ParentForm, XmlNode node ) : System
RestoreOptionEvents ( ) : void
SuppressOptionEvents ( ) : void

Protected Methods

Method Description
CreateBasicNode ( ) : void

Private Methods

Method Description
OptionCollection_Inserted ( int index, object value ) : void
OptionCollection_Removed ( int index, object value ) : void

Method Details

CreateBasicNode() protected method

protected CreateBasicNode ( ) : void
return void

FixOptionCollection() public method

public FixOptionCollection ( ) : void
return void

GetOptionByLabel() public method

Looks for a specified option by its label
public GetOptionByLabel ( string lbl ) : ODFOption
lbl string Option label
return ODFOption

GetOptionByValue() public method

Looks for a specified option by its value
public GetOptionByValue ( string val ) : ODFOption
val string Option value
return ODFOption

ODFListBox() public method

Creates an ODFListBox
public ODFListBox ( ODFForm ParentForm, ContentCollection contentCollection, string id ) : System
ParentForm AODL.Document.Forms.ODFForm Parent form that the control belongs to
contentCollection ContentCollection Collection of content where the control will be referenced
id string Control ID. Please specify a unique ID!
return System

ODFListBox() public method

Creates an ODFListBox
public ODFListBox ( ODFForm ParentForm, ContentCollection contentCollection, string id, string x, string y, string width, string height ) : System
ParentForm AODL.Document.Forms.ODFForm Parent form that the control belongs to
contentCollection ContentCollection Collection of content where the control will be referenced
id string Control ID. Please specify a unique ID!
x string X coordinate of the control in ODF format (eg. "1cm", "15mm", 3.2cm" etc)
y string Y coordinate of the control in ODF format (eg. "1cm", "15mm", 3.2cm" etc)
width string Width of the control in ODF format (eg. "1cm", "15mm", 3.2cm" etc)
height string Height of the control in ODF format (eg. "1cm", "15mm", 3.2cm" etc)
return System

ODFListBox() public method

public ODFListBox ( ODFForm ParentForm, XmlNode node ) : System
ParentForm AODL.Document.Forms.ODFForm
node System.Xml.XmlNode
return System

RestoreOptionEvents() public method

public RestoreOptionEvents ( ) : void
return void

SuppressOptionEvents() public method

public SuppressOptionEvents ( ) : void
return void