开发者

Adding hyperlink button column in silverlight grid from codebehind?

开发者 https://www.devze.com 2022-12-30 08:59 出处:网络
Since I am b开发者_运维知识库uilding the columns from code-behind, I need to attachhyperlink into one of the columns from code behind. And also, I need to add the click event.

Since I am b开发者_运维知识库uilding the columns from code-behind, I need to attach hyperlink into one of the columns from code behind. And also, I need to add the click event.

How can I do that and its data-binding in code behind? Please advise.

Thanks AJ


Defining Columns

Take a look at the section about adding template columns. In a nutshell you can add them with a resource or by using XamlReader.Load(string) to load a DataTemplate.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号