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