spiegelp / MaterialDesignExtensions

Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps
https://spiegelp.github.io/MaterialDesignExtensions/
MIT License
754 stars 122 forks source link

No method to close or clear the current entry in the autocomplete box? #93

Closed forensicmike closed 4 years ago

forensicmike commented 4 years ago

I've reviewed the source/demo and can't seem to find a way to programmatically clear the autocomplete box. Would be great to have a way to do this.

spiegelp commented 4 years ago

@forensicmike The next release is going to feature a ClearSelection() method.

As a temporary solution you can set the SelectedItem and SearchTerm properties to null.