Class GorgonSearchBox
A textbox for searching.
Inheritance
Implements
Inherited Members
Namespace: Gorgon.UI
Assembly: Gorgon.Windows.dll
Syntax
public class GorgonSearchBox : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
| Edit this page View SourceGorgonSearchBox()
Initializes a new instance of the GorgonSearchBox class.
Declaration
public GorgonSearchBox()
Properties
| Edit this page View SourceText
Gets or sets the current text in the TextBox.
Declaration
public override string Text { get; set; }
Property Value
Type | Description |
---|---|
string | The text displayed in the control. |
Overrides
| Edit this page View SourceToolTipBackColor
Property to set or return the color used for the background of the tool tip.
Declaration
[Browsable(true)]
public Color ToolTipBackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ToolTipForeColor
Property to set or return the color used for the text of the tool tip.
Declaration
[Browsable(true)]
public Color ToolTipForeColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ToolTipIcon
Property to set or return the tooltip icon to display on the tool tip.
Declaration
[Browsable(true)]
public ToolTipIcon ToolTipIcon { get; set; }
Property Value
Type | Description |
---|---|
ToolTipIcon |
ToolTipText
Property to set or return the tooltip text to display on the control.
Declaration
[Browsable(true)]
public string ToolTipText { get; set; }
Property Value
Type | Description |
---|---|
string |
ToolTipTitle
Property to set or return the tooltip title to display on the tool tip.
Declaration
[Browsable(true)]
public string ToolTipTitle { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceDispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
| Edit this page View SourceOnBackColorChanged(EventArgs)
Raises the BackColorChanged event.
Declaration
protected override void OnBackColorChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | An EventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnForeColorChanged(EventArgs)
Raises the ForeColorChanged event.
Declaration
protected override void OnForeColorChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | An EventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnParentBackColorChanged(EventArgs)
Raises the BackColorChanged event when the BackColor property value of the control's container changes.
Declaration
protected override void OnParentBackColorChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | An EventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnParentForeColorChanged(EventArgs)
Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
Declaration
protected override void OnParentForeColorChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | An EventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnSearch(GorgonSearchEventArgs)
Function to trigger to the Search event.
Declaration
protected virtual void OnSearch(GorgonSearchEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GorgonSearchEventArgs | e | The event parameters. |
Events
| Edit this page View SourceSearch
The event triggered when a search is initiated.
Declaration
public event EventHandler<GorgonSearchEventArgs> Search
Event Type
Type | Description |
---|---|
EventHandler<GorgonSearchEventArgs> |