Hi,
How can I bind my XAML to a static variable inside the App.xaml.cs?
For example:
namespace Mawaqeet
{
public partial class App : Application
{
public static string my_name { get; set; }
public static DateTime my_birthday { get; set; }
public App()
{
and then:
<Label Text="{Binding App.my_name}" />
<Label Text="{Binding my_birthday, StringFormat='{0:MMMM dd}'}" />
Thanks,
Jassim