SGBBaseControl

The SGBBaseControl provides the basis for all controls in the SGBControls library.

Namespace: SGBControls.Editors
Assembly: SGBControls

Inheritence: SGBBaseControl >> UserControl

Remarks
The SGBBaseControl is intended for internal use only for this library. It provides all the shared functionality among the controls such as the border painting and focused \ unfocused coloring.

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.
BorderStyle SGBControls.Editors.BorderStyles Gets or sets the tborder style used around this control.
ActiveBackgroundColor System.Drawing.Color Gets or sets the Background Color used when the editor has focus.
ActiveForegroundColor System.Drawing.Color Gets or sets the ForeColor used when the editor has focus.
InActiveBackgroundColor System.Drawing.Color Gets or sets the Background Color used when the editor does not have focus.
InActiveForegroundColor System.Drawing.Color Gets or sets the ForeColor used when the editor does not have focus.


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


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

Last edited Mar 30, 2010 at 10:40 AM by scottgblood, version 5

Comments

No comments yet.