分组列表框GroupStyle [英] Groupd ListBox GroupStyle

查看:76
本文介绍了分组列表框GroupStyle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在基于自定义类型属性的列表框中对集合进行分组.我想用自定义类型的属性设计组样式.这怎么可能?在标头中,绑定名称将提供自定义类型(分组属性)的.toString().如何以标题样式访问该自定义类型的属性(基于我对项目进行分组的内容)?

请帮帮我.

在此先感谢
Easwar.

Hi,

I am grouping collection in a list-box based on a Custom-type Property. i want to design the group-style with the properties of the custom-type. how is it possible? in header, binding the Name is giving the .toString() of the Custom-type (grouped property). how can i access the properties of that custom-type(based on what i grouped items) in header-style?

please help me.

Thanks in advance
Easwar.

推荐答案



我解决了在标题名称"中充当对象的问题.因此Name.PropertyName将提供分组对象属性的必需值.
Hi,

I solved my problem in Heade Name acts as an object. so Name.PropertyName will give the required values of grouped object property.


这篇关于分组列表框GroupStyle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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