Search Results for

    Show / Hide Table of Contents

    Class TextBoxButton

    Represents the control that combines a textbox and a button.

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.ComponentModel.Component
    System.Windows.Forms.Control
    System.Windows.Forms.ScrollableControl
    System.Windows.Forms.ContainerControl
    System.Windows.Forms.UserControl
    TextBoxButton
    Namespace: FastReport.Controls
    Assembly: FastReport.dll
    Syntax
    public class TextBoxButton : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

    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
    Overrides
    System.Windows.Forms.UserControl.Text

    Methods

    FocusTextBox()

    Set focus on text box.

    Declaration
    public void FocusTextBox()

    OnLayout(LayoutEventArgs)

    Declaration
    protected override void OnLayout(LayoutEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.LayoutEventArgs e
    Overrides
    System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs)

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e
    Overrides
    System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs)

    OnResize(EventArgs)

    Declaration
    protected override void OnResize(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    System.Windows.Forms.UserControl.OnResize(System.EventArgs)

    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

    Extension Methods

    UIUtils.DrawImageAndText(Control, DrawItemEventArgs, Image, String)
    UIUtils.DrawVisualStyleBorder(Control, Graphics, Rectangle)
    UIUtils.Dpi(Control)
    UIUtils.DpiMultiplier(Control)
    UIUtils.FontDpiMultiplier(Control)
    UIUtils.LogicalToDevice(Control, Int32)
    UIUtils.LogicalToDevice(Control, Single)
    UIUtils.LogicalToDevice(Control, Rectangle)
    UIUtils.LogicalToDevice(Control, Point)
    UIUtils.LogicalToDevice(Control, Size)
    UIUtils.LogicalToDevice(Control, Font, Boolean)
    UIUtils.GetImage(Control, Int32)
    UIUtils.GetImage(Control, String)
    UIUtils.GetImages(Control)
    Back to top © 1998-2025 Copyright Fast Reports Inc.