public ToursListPage()
        {
			this.ViewModel = GroupedListViewModel.CreateNew(Singleton<ToursConfig>.Instance);

            this.InitializeComponent();

            new Microsoft.ApplicationInsights.TelemetryClient().TrackPageView(this.GetType().FullName);
        }
        public ConcertsListPage()
        {
            ViewModel = ViewModelFactory.NewListGrouped(new ConcertsSection());

            this.InitializeComponent();
            commandBar.DataContext = ViewModel;
            NavigationCacheMode    = NavigationCacheMode.Enabled;
        }
Beispiel #3
0
        public ToursListPage()
        {
            this.ViewModel = GroupedListViewModel.CreateNew(Singleton <ToursConfig> .Instance);

            this.InitializeComponent();

            new Microsoft.ApplicationInsights.TelemetryClient().TrackPageView(this.GetType().FullName);
        }
        /// ------------------------------------------------------------------------------------------------

        /// ------------------------------------------------------------------------------------------------
        #region Public Functions

        ///
        /// ------------------------------------------------------------------------------------------------
        /// Name		SelectedIndex
        ///
        /// <summary>
        /// Returns the selected Index.
        /// </summary>
        ///
        /// <remarks>
        /// </remarks>
        /// ------------------------------------------------------------------------------------------------
        ///
        public int SelectedIndex()
        {
            try
            {
                int index = GroupedListViewModel.SelectedIndex((GroupedListModel)lstvw_GroupedList.SelectedItem);
                return(index);
            }
            catch (Exception ex)
            {
                LogTracking.LogTrace(ex.ToString());
                return(-1);
            }
        }
Beispiel #5
0
        public GroupedListView()
        {
            BindingContext = new GroupedListViewModel();

            InitializeComponent();
        }