Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / LiteralBoxInfo Class / AutoSize Property


In This Topic
    AutoSize Property (LiteralBoxInfo)
    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 LiteralBoxInfo
    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