Thanks for the great pointers. I had to use a combination of the two. "Path=." would not work for me. Like Dominique pionted out, have to specify the Key for the UriConverter as the DataContext will store the entire Dictionary, even if you specify your Converter Parameter in the binding of the DataContext property.You will see I specified the USERDOC field name in the UriConverter binding and then in the code behind I can access that Key/Value pair from the Dictionary object which is passed as the "value" variable......
<xmlns:uri="clr-namespace:HVAC;assembly=HVAC">
<UserControl.Resources>
<uri:UriConverter x:Name="UriConverter"/>
</UserControl.Resources>
.....
<HyperlinkButton x:Name="VAVuserdoc" Content="Open"
DataContext="{Binding Converter={StaticResource HHVACVAVDictionaryConverter}}" NavigateUri="{Binding Converter={StaticResource UriConverter}, ConverterParameter=USERDOC}" TargetName="_blank" FontWeight="Bold" Margin="3,0,3,0"/>
___________________________________________________________________________________(CODE BEHIND VB.NET)
Public Class UriConverter
Implements IValueConverter
Public Function Convert(ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements IValueConverter.Convert
Dim path As Uri = Nothing
If Not value Is Nothing Then
Dim pathNameBuilder As New UriBuilder
pathNameBuilder.Scheme = "http"
pathNameBuilder.Host = "myserver.domain.com"
pathNameBuilder.Path = "root/directory/" + value(parameter.ToString).ToString
path = pathNameBuilder.Uri
End If
Return path
End Function
Public Function ConvertBack(ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements IValueConverter.ConvertBack
Throw New NotImplementedException()
End Function
End Class