gpt4 book ai didi

c# - 将 SelectedItems 绑定(bind)到 ObservableCollection 属性

转载 作者:行者123 更新时间:2023-11-30 17:13:58 26 4
gpt4 key购买 nike

为什么 SelectedItems 不能从 XAML 绑定(bind)?!..我如何绑定(bind)它以保持应用 MVVM 模式?

最佳答案

SelectedItems 是无法绑定(bind)的只读属性。虽然存在 ways around this with attached properties

关于c# - 将 SelectedItems 绑定(bind)到 ObservableCollection 属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9218657/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com