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


In This Topic
    AutoSize Property (GcComboBox)
    In This Topic
    Gets or sets a bool value indicates whether this control can adjust its size according to its contents.
    Syntax
    'Declaration
     
    
    Public Overrides Property AutoSize As Boolean
    'Usage
     
    
    Dim instance As GcComboBox
    Dim value As Boolean
     
    instance.AutoSize = value
     
    value = instance.AutoSize
    public override bool AutoSize {get; set;}

    Property Value

    A bool value, true if this control can adjust its size according to its contents, otherwise, false.
    The default is false.
    Remarks
    When this property is set to true, the EditBase adjusts its width to display its entire contents.
    See Also