HandyControl
HandyControl copied to clipboard
AutoCompleteTextBox 控件的文本内容无法双向绑定
Describe the bug
模板内部的 PART_SearchTextBox 文本框没有绑定 Text={TemplateBinding Text} 而是通过TextChanged 事件来通知控件文本发生改变
因此设置控件的 Text属性是无效的
Steps to reproduce the bug
<hc:AutoCompleteTextBox ItemsSource="{Binding Items}" Text="{Binding SearchText}" />
Expected behavior
No response
Screenshots
No response
NuGet package version
None
IDE
No response
Framework type
No response
Windows version
No response
Additional context
No response