Class TextBoxAdvanced
An enhanced Windows Forms text box that adds input validation by data type, an
auto-complete drop-down list (optionally including Google suggestions), a watermark,
barcode capture, uppercase-only mode and Enter-as-Tab navigation.
Inheritance
TextBoxAdvanced
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class TextBoxAdvanced : TextBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IMessageFilter
Constructors
View Source
TextBoxAdvanced()
Declaration
Fields
View Source
AutoCompleteList
Declaration
public List<KeyValuePair<string, string>> AutoCompleteList
Field Value
View Source
AutoCompleteListTop
Declaration
public List<AutoCompleteInfo> AutoCompleteListTop
Field Value
View Source
AutoCompleteMaxVisibleLines
Declaration
public int AutoCompleteMaxVisibleLines
Field Value
View Source
AutoCompleteWidth
Declaration
public int AutoCompleteWidth
Field Value
View Source
BeforeEnterTab
Declaration
public BeforeEnterTabEvent BeforeEnterTab
Field Value
View Source
GoogleTermsImage
Declaration
public Image GoogleTermsImage
Field Value
View Source
NotGoogleTermsImage
Declaration
public Image NotGoogleTermsImage
Field Value
View Source
OnDropDownClicked
Declaration
public StringEvent OnDropDownClicked
Field Value
View Source
SearchWindow
Declaration
public ISearchWindow SearchWindow
Field Value
View Source
_waterMarkActiveColor
Declaration
protected Color _waterMarkActiveColor
Field Value
View Source
_waterMarkColor
Declaration
protected Color _waterMarkColor
Field Value
View Source
_waterMarkText
Declaration
protected string _waterMarkText
Field Value
Properties
View Source
BarCodeBeginChar
Declaration
public char BarCodeBeginChar { get; set; }
Property Value
View Source
BarCodeEndChar
Declaration
public char BarCodeEndChar { get; set; }
Property Value
View Source
DataType
Declaration
public TextBoxDataType DataType { get; set; }
Property Value
View Source
EnterAsTab
Declaration
public bool EnterAsTab { get; set; }
Property Value
View Source
IncludeGoogleTerms
Declaration
public bool IncludeGoogleTerms { get; set; }
Property Value
View Source
ReadBarCode
Declaration
public bool ReadBarCode { get; set; }
Property Value
View Source
SelectedDropDown
Declaration
public object SelectedDropDown { get; }
Property Value
View Source
Text
Declaration
public override string Text { get; set; }
Property Value
Overrides
View Source
UppercaseOnly
Declaration
public bool UppercaseOnly { get; set; }
Property Value
View Source
WaterMark
Declaration
public string WaterMark { get; set; }
Property Value
View Source
WaterMarkActiveForeColor
Declaration
public Color WaterMarkActiveForeColor { get; set; }
Property Value
View Source
WaterMarkFont
Declaration
public Font WaterMarkFont { get; set; }
Property Value
View Source
WaterMarkForeColor
Declaration
public Color WaterMarkForeColor { get; set; }
Property Value
Methods
View Source
HideDropDown()
Declaration
public void HideDropDown()
View Source
OnHandleCreated(EventArgs)
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
Overrides
View Source
OnInvalidated(InvalidateEventArgs)
Declaration
protected override void OnInvalidated(InvalidateEventArgs e)
Parameters
Overrides
View Source
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Overrides
View Source
OnKeyPress(KeyPressEventArgs)
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
Overrides
View Source
OnKeyUp(KeyEventArgs)
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
Overrides
View Source
OnLeave(EventArgs)
Declaration
protected override void OnLeave(EventArgs e)
Parameters
Overrides
View Source
OnLostFocus(EventArgs)
Declaration
protected override void OnLostFocus(EventArgs e)
Parameters
Overrides
View Source
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Overrides
View Source
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Overrides
View Source
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
Overrides
View Source
PreFilterMessage(ref Message)
Declaration
public bool PreFilterMessage(ref Message m)
Parameters
Returns
View Source
ProcessCmdKey(ref Message, Keys)
Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
Returns
Overrides
Implements