Disabling autocomplete for Combobox

How do you enable or disable Autocomplete for Combobox programmatically?
[85 byte] By [d00d] at [2007-12-24]
# 1
Use the ComboBox.AutoCompleteMode property to turn on or off AutoComplete.
ivolved_Mike_Brown at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2
I should have been more specific... I want to know this for Windows.Controls.ComboBox and not for Windows.Forms.ComboBox.
d00d at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 3
For current version of WPF, ComboBox doesn't suppprt auto complete feature.

Sheva

footballism at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 4
Yes it does support AutoComplete! This has something to do with TextComposition class but I am unclear how should I use it.
d00d at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 5
Ok found it, we can achieve this by setting IsTextSearchEnabled = false, though I wonder why it wasn't named AutoComplete here.
d00d at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 6

Man do I feel slow...I didn't even bother to check the namespace when I looked it up. Although I did have a .Net Framework 3.0 filter on (which should have excluded the winforms stuff). Looks like you got it though.

ivolved_Mike_Brown at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified