I got a static class like the following:
public static class Lang { public static string GetString(string name) { //CODE } } Now i want to access this static function within xaml as a binding. Is there such a way for example:
<Label Content="{Binding Path="{x:static lang:Lang.GetString, Parameters={parameter1}}"/> Or is it necessary to create a ObjectDataProvider for each possible parameter?
Hope someone is able to help me. Thanks in advance!