Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug title Checkcombox绑定有问题 #1699

Open
dawndawnZyx opened this issue Feb 14, 2025 · 0 comments
Open

Bug title Checkcombox绑定有问题 #1699

dawndawnZyx opened this issue Feb 14, 2025 · 0 comments

Comments

@dawndawnZyx
Copy link

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 dawndawnZyx changed the title Bug title Bug title Checkcombox绑定有问题 Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant