摘要: Silverlight 3中的Behavior技术(二) Behavior技术可以把常用的行为封装成可重复使用的组件(component),这个组件从技术面来说,当然只是没有外观的一组类别(Class),而开发人员或设计师可以在Blend 3当中将这个类别的对象实体(instance)『套用(Hook)』到某一个控件上,使得套用了该Behavior的控件可以不须撰写任何程序代码,就可以立即拥有(达成)一些和使用者互动的行为。原来有这么多东西要学习。my gril。 阅读全文
posted @ 2012-02-29 23:17 左手边的爱 阅读(148) 评论(0) 推荐(0) 编辑
摘要: textbox can't receive focus right after change the ISBusy property. That's because of animation of Busyindication is still running,and it is impossible for the internal control to receive focus.Telerik team offer theway to resolvethis issue. The IsBusyIndicationVisible property is updated la 阅读全文
posted @ 2012-02-29 22:30 左手边的爱 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Enum: Binding to the Description Attribute这篇文章写得是C#环境下,带有description属性的enum如何binding到combobox。并且用到了扩展类,使用很方便。但是silverlight中没有GetValues这个方法,所以不能用。在silverlight中可以用下面的方法myCombobox.AddComboboxItem(((Customer.CustomerTypeOption)i).GetDescription(), ((Customer.CustomerTypeOption)i).ToString());public stat 阅读全文
posted @ 2012-02-29 13:13 左手边的爱 阅读(545) 评论(0) 推荐(0) 编辑
摘要: [Silverlight入门系列]使用MVVM模式(6):使用BehaviorSilverlight 3中的Behavior技术(一) 阅读全文
posted @ 2012-02-29 13:05 左手边的爱 阅读(141) 评论(0) 推荐(0) 编辑