Hi all,
I have an const variable in a class, as following:
public class Names
{
public const string MyName = "test";
}
then I want to access the value in XAML, as following:
<Textblock Text="{MyName }"/>
the class Names is not the datacontext of the xaml, so how should I do?