WPF DataGrid DataGridHyperlinkColumn bound to Uri
- by MicMit
No problem when binding to a property of string type ( "http://something.com" ). However , I seem to have seen in old examples direct binding to Uri property.
<dg:DataGridHyperlinkColumn IsReadOnly="True"
Header="Uri" Binding="{Binding Path=NavigURI}" />
NavigURI is Uri . More recent docs seem to require a converter
<DataGridHyperlinkColumn Header="Email" Binding="{Binding Email}" ContentBinding="{Binding Email, Converter={StaticResource EmailConverter}}" />
I tried with a converter also, but in both cases with or without converter column is empty.
Debugging showed that value passed to "Convert" method is always null. My question : if for any reason I want binding to Uri property , is it feasible for the latest DataGrid from Codeplex ?