Nevron.UI.WinForm.Controls Namespace / NTextBox Class / AutoSize Property


In This Topic
    AutoSize Property (NTextBox)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.BrowsableAttribute(True)>
    <System.ComponentModel.DefaultValueAttribute(True)>
    <System.ComponentModel.DescriptionAttribute("Gets/sets a value whether the TextBox will auto-size itself depending on the current fon height. Valid in single-line mode only.")>
    Public Shadows Property AutoSize As System.Boolean
    'Usage
     
    
    Dim instance As NTextBox
    Dim value As System.Boolean
     
    instance.AutoSize = value
     
    value = instance.AutoSize
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.DefaultValue(true)]
    [System.ComponentModel.Description("Gets/sets a value whether the TextBox will auto-size itself depending on the current fon height. Valid in single-line mode only.")]
    public new System.bool AutoSize {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also