Class ListBoxControl
Represents a Windows control to display a list of items. Wraps the System.Windows.Forms.ListBox control.
Inheritance
System.Object
    
    
    
    
    
    
    ListBoxControl
  Implements
Inherited Members
Namespace: FastReport.Dialog
Assembly: FastReport.dll
Syntax
public class ListBoxControl : ListBoxBaseControl, IDisposable, IFRSerializable
  Constructors
ListBoxControl()
Initializes a new instance of the ListBoxControl class with default settings.
Declaration
public ListBoxControl()
  Properties
ListBox
Gets an internal ListBox.
Declaration
[Browsable(false)]
public ListBox ListBox { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Windows.Forms.ListBox | 
Methods
GetValue()
Returns value entered in the control.
Declaration
protected override object GetValue()
  Returns
| Type | Description | 
|---|---|
| System.Object | The value of type supported by this control.  | 
      
Overrides
Remarks
This method must return a value entered by the user. For example, TextBox control must return its Text property value. If this control supports multi-selection, return selected values in an array, for example string[] array for CheckedListBox.
OnSelectedIndexChanged(EventArgs)
This method fires the SelectedIndexChanged event and the script code connected to the SelectedIndexChangedEvent.
Declaration
public override void OnSelectedIndexChanged(EventArgs e)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.EventArgs | e | Event data.  |