开发者

Adding hyperlink button column in silverlight grid from codebehind?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜