.net framework control

SGBListBox

An enhanced version of the standard .net ListBox Control.

Namespace: SGBControls.Editors
Assembly: SGBControls

Inheritence: SGBListBox >> UserControl >> SGBBaseControl

Remarks
The SGBListBox control enables you to display a list of items to the user that the user can select by clicking. The SGBListBox control can provide single or multiple selections using the SelectionMode property. The ListBox also provides the MultiColumn property to enable the display of items in columns instead of a straight vertical list of items. With this, the control can display more visible items and the user no longer needs to scroll to an item.

In addition the the selection of items within a list, the SGBListBox provides features that enable you to control how the control is drawn and how items are displayed when they are selected either via the SGBEditStyleController or the SelectedItemBackColor and SelectedItemForeColor properties.

New Properties
Name Type Description
SelectedItemForeColor System.Drawing.Color Gets or sets the SelectedItemForeColor property defines the text color that is used when an item is selected in the SGBListBox
SelectedItemBackColor System.Drawing.Color Gets or sets the SelectedItemBackColor property defines the background color that is used when an item is selected in the SGBListBox
StyleController SGBControls.Editors.SGBEditStyleController Gets or sets the SGBEditStyleController used to paint the SGBListBox Control.
BorderColor System.Drawing.Color Gets or sets the color used to draw the border around the control. Inherited from SGBBaseControl
BorderStyle SGBControls.Editors.BorderStyles Gets or sets the tborder style used around this control. Inherited from SGBBaseControl
ActiveBackgroundColor System.Drawing.Color Gets or sets the Background Color used when the editor has focus.. Inherited from SGBBaseControl
ActiveForegroundColor System.Drawing.Color Gets or sets the ForeColor used when the editor has focus. Inherited from SGBBaseControl
InActiveBackgroundColor System.Drawing.Color Gets or sets the Background Color used when the editor does not have focus.. Inherited from SGBBaseControl
InActiveForegroundColor System.Drawing.Color Gets or sets the ForeColor used when the editor does not have focus. Inherited from SGBBaseControl


New Methods
Name Return Type Description
GetNativeControl() System.Windows.Forms.ListBox Gets the System.Windows.Forms.ListBox control used to create this control.


New Events
Name Description
BorderStyleChanged Occurs when the BorderStyle property of the control is changed. Inherited from SGBBaseControl
Invalidated Occurs when the control is invalidated for repainting. Inherited from SGBBaseControl

Last edited Mar 29, 2010 at 1:02 PM by scottgblood, version 14

Comments

No comments yet.