使用手风琴控制 [英] Using Accordion control

查看:112
本文介绍了使用手风琴控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


一个初学者问题:)

在我的silverlight应用程序中,我添加了2列Grid。
在第一列我添加了一对手风琴控件手风琴项目。

现在,我希望每个手风琴项目(点击它)都会改变第二个网格列上显示的控件。

第一个accorsion项目将显示数据网格,第二个手风琴项目将显示调度程序等等

所以....如何做到这一点? hwo to to desing time我想在运行时在运行时显示的所有控件?
以及如何在运行时切换它们?

谢谢
Baruch。

解决方案


请尝试以下示例:

http: //aspalliance.com/1855_Using_the_Silverlight_Accordion_Control.all

Silverlight 3 Toolkit手风琴样本(你会在这里找到更多样本:)享受):

http://silverlight.net/content/samples/sl3/toolkitcontrolsamples/运行/ default.html中#/ Welcome.xaml

问候,

Hi,
A begginer question :)

In my silverlight application i added Grid with 2 columns.
on the first column i added an accordion control with a couple of accordion items.

Now, i want that every accordion item (on clicking it) will change the controls that display on the second grid column.
e.g.
the first accorsion item will show a data grid, the second accordion item will show scheduler, etc'

so.... how to do this ? hwo to to put in desing time all the control that i want to show in runtime in runtime ?
and how to switch them during runtime ?

Thanks
Baruch.

解决方案


Try these samples :

http://aspalliance.com/1855_Using_the_Silverlight_Accordion_Control.all


Silverlight 3 Toolkit Accordion Sample(You will find many more samples here :) Enjoy ):

http://silverlight.net/content/samples/sl3/toolkitcontrolsamples/run/default.html#/Welcome.xaml

Regards,
Jai


这篇关于使用手风琴控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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