[UWP]在ComboBox中分组? [英] [UWP]Grouping in ComboBox?

查看:87
本文介绍了[UWP]在ComboBox中分组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用SemanticZoom对特定项目进行分组,这些项目效果很好。我想知道这个可能性是否也适用于ComboBox?

I'm using SemanticZoom to group specific items which is working great. I was wondering if this possibility is also there for the ComboBox?

所以我想要的是一旦我点击ComboBox,它就会对项目进行分组(带有一个小标题显示组标题在该列表中。

So what I want is once I click on the ComboBox, it would group the items (with a little header showing the group title) in that list.

Niels

推荐答案

嗨NielsLaute,

Hi NielsLaute,

ComboBox不支持分组。你可以按照Sagar对这个
的建议
thread
使自定义控件看起来像一个带有分组的组合框。

The ComboBox does not support Grouping. You could follow Sagar’s suggestion on this thread to make a custom control look like a combobox with grouping.

最好的问候,

Xavier Eoro

Xavier Eoro


这篇关于[UWP]在ComboBox中分组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆