HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

Bug title Checkcombox绑定有问题

Open dawndawnZyx opened this issue 8 months ago • 0 comments

Describe the bug

CheckComboBox多选框使用hc:ListBoxAttach.SelectedItems绑定选择项,会报警告找不到源: RelativeSource FindAncestor, AncestorType='HandyControl.Controls.TagContainer', AncestorLevel='1'。且绑定选择的内容可以通过后端更新,通过界面修改后传递过来的值就是null的了

Steps to reproduce the bug

<hc:CheckComboBox hc:InfoElement.ShowClearButton="True" hc:InfoElement.Title="筛选条件" hc:ListBoxAttach.SelectedItems="{Binding SelectConditions}" ItemsSource="{Binding FilterConditions}" ShowSelectAllButton="True" />

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

dawndawnZyx avatar Feb 14 '25 06:02 dawndawnZyx