将UserControl绑定到LibraryBar [英] Binding a UserControl to the LibraryBar

查看:116
本文介绍了将UserControl绑定到LibraryBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用按钮创建了一个userControl图像和几个标签,


我可以'找到一种方法来绑定它,以便LibraryBar显示我的控件实例列表中的项目。


任何人都可以帮助我吗?

解决方案

可能是一个不同于你的自定义cotrols的静态clas ......;)


 


Hi,

I've created a userControl using a button an image and a couple of labels,

i can't find a way to bind it so that the LibraryBar would display items from a list of instances of my control.

can anyone please help me with that?

解决方案

maybe a static clas that dispencess your custom cotrols... ;)

 


这篇关于将UserControl绑定到LibraryBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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