Spread Windows Forms 18
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBoxCellType Class / AutoCompleteMode Property


In This Topic
    AutoCompleteMode Property (GcTextBoxCellType)
    In This Topic
    Gets or sets an option that controls how automatic completion works for the GcTextBox control.
    Syntax
    'Declaration
     
    
    Public Property AutoCompleteMode As AutoCompleteMode
    'Usage
     
    
    Dim instance As GcTextBoxCellType
    Dim value As AutoCompleteMode
     
    instance.AutoCompleteMode = value
     
    value = instance.AutoCompleteMode
    public AutoCompleteMode AutoCompleteMode {get; set;}

    Property Value

    One of the GcTextBox.AutoCompleteMode values. The values are AutoAppend, AutoSuggest, AutoSuggestAppend, and None.
    The default is None.
    Remarks

    Use the GcTextBox.AutoCompleteCustomSource, AutoCompleteMode, and GcTextBox.AutoCompleteSource properties to create a GcTextBox that automatically completes input strings by comparing the prefix being entered to the prefixes of all strings in a maintained source. This is useful for GcTextBox controls in which URLs, addresses, file names, or commands are frequently entered.

    The use of the AutoCompleteCustomSource property is optional, but you must set the AutoCompleteSource property to CustomSource in order to use AutoCompleteCustomSource.

    You must use the AutoCompleteMode and AutoCompleteSource properties together.

    See Also