Spread Windows Forms 18
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CharBox Class / AutoSize Property


In This Topic
    AutoSize Property (CharBox)
    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 CharBox
    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 CharBox adjusts its width to display its entire contents.
    See Also