views:

12

answers:

0

Assume I have SomeExtension markup extension. Does anyone know how to assign it to a property from C# code?

That is for example in xaml I have

<TextBlock Text="{l:Translate LocalizedByMarkupExtension}" />

I want to do the same using C# code.