I have a TextBlock control and I am declaratively setting the Text property to {loc:Translate}.
<TextBlock x:Name="Message" Text="{loc:Translate}" loc:TranslateExtension.Uid="myMessage" />
During runtime, I update the Text property value to something else. I then need to reset it back to {loc:Translate}.
My question is, how can I programmatically set Text to {loc:Translate}?
This should be it except that this is lacking a ‘proper’
IServiceProvider-parameter.So depending on your extension implementation you could actually pass
nulltoProvideValue.