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

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

    Property Value

    One of the values of AutoCompleteMode. The values are System.Windows.Forms.AutoCompleteMode.Append, System.Windows.Forms.AutoCompleteMode.Suggest, System.Windows.Forms.AutoCompleteMode.SuggestAppend and System.Windows.Forms.AutoCompleteMode.None. The default is System.Windows.Forms.AutoCompleteMode.None.

    Use the AutoCompleteCustomSource, AutoCompleteMode, and AutoCompleteSource properties to create a GcComboBox 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 will be 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