SGBTextBox

An enhanced version of the standard .net TextBox Control.

Namespace: SGBControls.Editors
Assembly: SGBControls

Inheritence: SGBTextBox >> UserControl >> SGBBaseControl

Remarks
With the SGBTextBox control, the user can enter text in an application. This control has additional functionality that is not found in the standard Windows text box control, including multiline editing and password character masking.

In addition the the standard editing features, the SGBTextBox provides features that enable you to control how the control is drawn and how text is displayed. It also provides search facilities that are not currently available in the standard .net TextBox control.

New Properties
Name Type Description
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.
ChangeCase() void Changes the case of the text displayed within the control
FindText() int Returns the zero based index of the first occurence of the specified string within the control
FindAllInstancesOfText() int[] Returns an array of integers containing the zero based indexes of all occurences of the specified string


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
ClipboardOperation Occurs when an operation on the clipboard is carried out

Last edited Mar 30, 2010 at 2:47 PM by scottgblood, version 8

Comments

No comments yet.