Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CharBoxInfo Class / AutoSize Property


In This Topic
    AutoSize Property (CharBoxInfo)
    In This Topic
    Gets or sets a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.
    Syntax
    'Declaration
     
    
    Public Property AutoSize As Boolean
    'Usage
     
    
    Dim instance As CharBoxInfo
    Dim value As Boolean
     
    instance.AutoSize = value
     
    value = instance.AutoSize
    public bool AutoSize {get; set;}

    Property Value

    A bool value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.
    The default is true.
    Remarks
    When this property is set to true, the CharBoxInfo adjusts its width to display its entire contents.
    See Also