在模态窗口选择器中显示多个列 [英] Displaying more than one column in the modal window picker

查看:81
本文介绍了在模态窗口选择器中显示多个列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在模态窗口选择器中显示多个列?我所拥有的是Room表,RoomNumber,RoomStatus,RoomType,RoomRate。在RoomNumber的模态窗口选择器中,我可以轻松选择任何房间,但我不知道房间
是否"空置"。我想在模式窗口选择器中选择房间之前,能够向用户显示房间类型和房间类型(单人,双人)。

Is it possible to display more than one column in the modal window picker? What I have is a Rooms table with RoomNumber, RoomStatus, RoomType, RoomRate. In the modal window picker for RoomNumber, I can easily select any room but I have no idea if the room is "vacant" or "occupied". I want to be able to display the 'status' of the and type of room(Single,Double) to the user prior to selection of the room in the modal Window picker.

推荐答案

请看一下这个帖子:
http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/c84c91ad-a2e2-44e5-b0b4-e83bced5b945

就像ComboBox一样,Modal Window Picker的每个实体的默认可视化都是Summary控件。您可以将"摘要"控件更改为另一个详细信息控件或组控件(例如其中一个堆栈控件),并将其他
字段添加到选取器。

Just like the ComboBox, the Modal Window Picker's default visualization for each of the entities is the Summary control. You can change the Summary control to another details control or group control (such as one of the stack controls) and add additional fields to the picker.


这篇关于在模态窗口选择器中显示多个列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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