There is an excellent example here:
Example from MSDN
if your converter class is in a different namespace (as suggested to be in a separate folder) you can add
xmlns:conv="using:MyNamespace.Converters"
and use it like this:
the rest should stay the same as in the example from the link.