ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / TextBox Class
Members Example

In This Topic
    TextBox Class
    In This Topic
    Prints a formatted text value, bound or unbound.
    Object Model
    TextBox Class
    Syntax
    'Declaration
     
    Public NotInheritable Class TextBox 
       Inherits ARControl
       Implements GrapeCity.ActiveReports.Controls.Design.IPersistControl 
    Example
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.textBox1.Alignment = TextAlignment.Center;
        this.textBox1.BackColor = System.Drawing.Color.Transparent;
        this.textBox1.CanGrow = true;
        this.textBox1.CanShrink = false;
        this.textBox1.ClassName = "Normal";
        this.textBox1.DistinctField = null;
        this.textBox1.ForeColor = System.Drawing.Color.Black;
        this.textBox1.HyperLink = "mailto:support@company.com";
        this.textBox1.MultiLine = true;
        this.textBox1.OutputFormat = null;
        this.textBox1.SummaryFunc = SummaryFunc.Sum;
        this.textBox1.SummaryGroup = null;
        this.textBox1.SummaryRunning = SummaryRunning.None;
        this.textBox1.SummaryType = SummaryType.None;
        this.textBox1.Text = "TextBox";
        this.textBox1.VerticalAlignment = VerticalTextAlignment.Top;
        this.textBox1.WrapMode = GrapeCity.ActiveReports.Document.Section.WrapMode.NoWrap;
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.TextBox1.Alignment = TextAlignment.Center
       Me.TextBox1.BackColor = System.Drawing.Color.Transparent
       Me.TextBox1.CanGrow = True
       Me.TextBox1.CanShrink = False
       Me.TextBox1.ClassName = "Normal"
       Me.TextBox1.DistinctField = Nothing
       Me.TextBox1.ForeColor = System.Drawing.Color.Black
       Me.TextBox1.HyperLink = "mailto:support@company.com"
       Me.TextBox1.MultiLine = True
       Me.TextBox1.OutputFormat = Nothing
       Me.TextBox1.SummaryFunc = SummaryFunc.Sum
       Me.TextBox1.SummaryGroup = Nothing
       Me.TextBox1.SummaryRunning = SummaryRunning.None
       Me.TextBox1.SummaryType = SummaryType.None
       Me.TextBox1.Text = "TextBox"
       Me.TextBox1.VerticalAlignment = VerticalTextAlignment.Top
       Me.TextBox1.WrapMode = GrapeCity.ActiveReports.Document.Section.WrapMode.NoWrap
    End Sub
    Inheritance Hierarchy

    System.Object
       GrapeCity.ActiveReports.SectionReportModel.ARControl
          GrapeCity.ActiveReports.SectionReportModel.TextBox

    See Also