Nimgoble / WPFTextBoxAutoComplete

An attached behavior for WPF's TextBox control that provides auto-completion suggestions from a given collection
https://www.nuget.org/packages/WPFTextBoxAutoComplete/
MIT License
100 stars 37 forks source link

no autocompletelist is shown #23

Open geoang opened 5 years ago

geoang commented 5 years ago

hi using the following Markup and codebehind i'm not able to see the autocompletelist:

<TextBox x:Name="txtSearch" 
                 TextChanged="TextBox_TextChanged" 
                 behaviors:AutoCompleteBehavior.AutoCompleteItemsSource="{Binding AutoCompleteList}"                 behaviors:AutoCompleteBehavior.AutoCompleteStringComparison="InvariantCultureIgnoreCase"
        />
Private pList As New List(Of String)
    Private Property AutoCompleteList As List(Of String)
        Get
            Return pList
        End Get
        Set(value As List(Of String))
            pList = value
        End Set
    End Property

AutoCompleteList is updated on textchanged of the textbox by calling a search-index.

what am i missing??

best regards george