Exemplo n.º 1
0
        public App()
        {
            InitializeComponent();

            listview = new DeviceListViewPage();
            MainPage = listview;
            Connectivity.ConnectivityChanged += OnConnectivityChanged;
        }
Exemplo n.º 2
0
        public DeviceAddPage(DeviceListViewPage list)
        {
            InitializeComponent();

            topMenuBar.SetButtonIcon(ButtonLocation.Right, ButtonIcon.Done);
            topMenuBar.RightButtonTapped += OnEntryCompleted;

            networkAddressEntry.Focus();
        }
Exemplo n.º 3
0
        public App()
        {
            InitializeComponent();

            listview = new DeviceListViewPage();
            MainPage = listview;
            //MainPage.SetValue(NavigationPage.BarTextColorProperty, Color.White);
            Application.Current.MainPage.SetValue(NavigationPage.BarBackgroundColorProperty, "#0000AA");

            Connectivity.ConnectivityChanged += OnConnectivityChanged;
        }