Area devices list page.
Inheritance: Xamarin.Forms.Grid
Example #1
0
        protected override void OnAppearing()
        {
            IsBusy = true;
            base.OnAppearing();
            NavigationPage.SetHasNavigationBar(this, false);

            m_accordionView = new AccordionControl(m_header);
            m_accordionView.BackgroundColor = Color.FromRgb(52, 52, 52);
            m_accordionView.DefaultButtonBackgroundColor = Color.FromRgb(52, 52, 52);
            m_accordionView.DefaultButtonTextColor       = Color.White;

            foreach (SampleInnerView item in m_innerViews)
            {
                Grid cell = CreateCell();
                m_accordionView.Add(cell, item);
            }

            m_accordionView.CloseAllEntries();

            Content = m_accordionView;
            IsBusy  = false;
        }
        protected override void OnAppearing()
        {

            IsBusy = true;
            base.OnAppearing();
            NavigationPage.SetHasNavigationBar(this, false);

            m_accordionView = new AccordionControl(m_header);
            m_accordionView.BackgroundColor = Color.FromRgb(52, 52, 52);
            m_accordionView.DefaultButtonBackgroundColor = Color.FromRgb(52, 52, 52);
            m_accordionView.DefaultButtonTextColor = Color.White;

            foreach (SampleInnerView item in m_innerViews)
            {
                Grid cell = CreateCell();
                m_accordionView.Add(cell, item);
            }

            m_accordionView.CloseAllEntries();

            Content = m_accordionView;
            IsBusy = false;
        }