ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / TextBox Class / CanShrink Property
Example

In This Topic
    CanShrink Property (TextBox)
    In This Topic
    Gets or sets a value indicating whether the textbox size can decrease to match its contents.
    Syntax
    'Declaration
     
    Public Property CanShrink As Boolean
    public bool CanShrink {get; set;}

    Property Value

    A System.Boolean value where true indicates the textbox size can shrink to fit the contents; otherwise, false. The default is false.
    Example
    TextBox textBox = new TextBox();
    textBox.CanShrink = true;
    See Also