DataGrid中的超链接列? [英] Hyperlink column in DataGrid?

查看:88
本文介绍了DataGrid中的超链接列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Sketchflow的新手,所以.....

有没有人知道如何在不使用C#代码的情况下将我的一个DataGrid列转换为超链接?

每个单元格将导航到相同的URL,例如。 http://www.bbc.co.uk

任何帮助表示赞赏。
<问候,

保罗。

I am very new to Sketchflow, so.....

Does anyone know how to convert one of my DataGrid columns into a Hyperlink without resorting to C# code?

Each cell will navigate to the same URL eg. http://www.bbc.co.uk

Any help appreciated.

Regards,

Paul.

推荐答案

你能说清楚问题是什么吗?您可以右键单击数据网格并选择"添加列"; => "添加DataGridHyperLinkColumn"。
如果您确实要转换现有列,可以尝试直接更改XAML,但可能需要调整一些属性。我只想添加一个新列并删除旧列。您可以使用单击"..."时出现的列编辑器设置列的顺序。列属性旁边。

也许我不明白这个问题?

左边
Can you clarify what the problem is? You can right click on a datagrid and select "Add Column" => "Add DataGridHyperLinkColumn".

If you truly want to convert an existing column, you could try changing the XAML directly, but you might have to tweak some of the properties. I would go with just adding a new column and deleting the old one. You can set the order of the columns with the columns editor that appears when you click the "..." next to the columns property.

Perhaps I don't understand the problem?

Wally


这篇关于DataGrid中的超链接列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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