Error!
Success!

Convert in code as in XAML: how to get the XAML processor’s converter?

0
kicks

Convert in code as in XAML: how to get the XAML processor’s converter?  (Unpublished)

Sometimes you need to set property on controls from the code and then you realize that this is not like in XAML: these are not strings? No, they are not! This is because the XAML processor convert the string to the correct type when it process the XAML. In this post we’ll see how to reproduce the same behavior from the code: a little snippet which can help you someday !


Kicked By:
Drop Kicked By: