AutoCompleteBox Binding Issue

Apr 15, 2010 at 11:39 PM
Edited Apr 15, 2010 at 11:42 PM
In My view I have the following constructor: public MainView() { InitializeComponent(); _vm = new MainViewModel(); DataContext = _vm; } In the XAML I have the following code for the AutoCompleteBox. This seems to work fine for populating the AutoComplete values but I want the text to be bound to a _vm.Project property (Text="{Binding 'Project', ...), this doesn't seem to be updating the view model can anyone help please? <toolkit:AutoCompleteBox Height="22" Text="{Binding 'Project', Mode=OneWay}" Margin="0,0,30,0" Width="200" ItemsSource="{Binding Path=ProjectNames}"></toolkit:AutoCompleteBox> Thanks in advance, Brendan
May 10, 2010 at 9:38 PM
Text="{Binding 'Project', Mode=OneWay} Think that might have something to do with it? try Mode=TwoWay