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


In This Topic
    AutoSize Property (GcComboBoxEditingControl)
    In This Topic
    Gets or sets a bool value indicates whether this control can adjust its size according to its contents.
    Syntax
    'Declaration
     
    
    Public Overridable Property AutoSize As Boolean
    'Usage
     
    
    Dim instance As GcComboBoxEditingControl
    Dim value As Boolean
     
    instance.AutoSize = value
     
    value = instance.AutoSize
    public virtual 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