Class TextBoxButton
Represents the control that combines a textbox and a button.
Inheritance
System.Object
TextBoxButton
Namespace: FastReport.Controls
Assembly: FastReport.dll
Syntax
public class TextBoxButton : UserControl
Constructors
TextBoxButton()
Initializes a new instance of the TextBoxButton class.
Declaration
public TextBoxButton()
Properties
ButtonText
Gets or sets the button's text.
Declaration
public string ButtonText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Image
Gets or sets the button's image.
Declaration
public Image Image { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Image |
Text
Declaration
public override string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
FocusTextBox()
Set focus on text box.
Declaration
public void FocusTextBox()
OnLayout(LayoutEventArgs)
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutEventArgs | e |
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| PaintEventArgs | e |
OnResize(EventArgs)
Declaration
protected override void OnResize(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e |
Events
ButtonClick
Occurs when the button is clicked.
Declaration
public event EventHandler ButtonClick
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
TextChanged
Occurs when the text is changed.
Declaration
public event EventHandler TextChanged
Event Type
| Type | Description |
|---|---|
| System.EventHandler |