We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
最好是可以分组的那种,比如下拉后显示如下这种格式 分组一(文字,不可选中) 可选内容一 可选内容二 可选内容三 分组二(文字,不可选中) 可选内容一 可选内容二 可选内容三 谢谢。
The text was updated successfully, but these errors were encountered:
修改默认模板做了个简单的例子 模板修改1 模板修改2 添加分组描述
Sorry, something went wrong.
最好是CheckBox的多选项。哈哈
设置ListBox的模板就可以 😸
<ListBox.ItemTemplate> <DataTemplate> <Grid> <CheckBox Content="{Binding Title}" IsChecked="{Binding IsSelected, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}}"/> </Grid> </DataTemplate> </ListBox.ItemTemplate>
谢谢
No branches or pull requests
最好是可以分组的那种,比如下拉后显示如下这种格式
分组一(文字,不可选中)
可选内容一
可选内容二
可选内容三
分组二(文字,不可选中)
可选内容一
可选内容二
可选内容三
谢谢。
The text was updated successfully, but these errors were encountered: