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


In This Topic
    AutoCompleteCustomSource Property (GcComboBox)
    In This Topic
    Gets or sets a custom System.Windows.Forms.AutoCompleteStringCollection to use when the AutoCompleteSource property is set to CustomSource.
    Syntax
    'Declaration
     
    
    Public Property AutoCompleteCustomSource As AutoCompleteStringCollection
    'Usage
     
    
    Dim instance As GcComboBox
    Dim value As AutoCompleteStringCollection
     
    instance.AutoCompleteCustomSource = value
     
    value = instance.AutoCompleteCustomSource
    public AutoCompleteStringCollection AutoCompleteCustomSource {get; set;}

    Property Value

    A System.Windows.Forms.AutoCompleteStringCollection to use with AutoCompleteSource.
    The default is a null reference (Nothing in Visual Basic).
    Remarks
    Use the AutoCompleteCustomSource, AutoCompleteMode, and AutoCompleteSource properties to create a GcComboBox that automatically completes input string by comparing the prefix being entered to the prefixes of all strings in a maintained source. This is useful for TextBox 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