Inheritance: ObservableBase
        public HomePage()
        {
            ViewModel = new MainViewModel(8);            
            InitializeComponent();

            NavigationCacheMode = NavigationCacheMode.Required;
        }
 public HomePage()
 {
     ViewModel = new MainViewModel(12);            
     InitializeComponent();
     NavigationCacheMode = NavigationCacheMode.Required;
     new Microsoft.ApplicationInsights.TelemetryClient().TrackPageView(this.GetType().FullName);
 }		
        public MainPage()
        {
            int visibleItems = 0;
#if WINDOWS_APP
            visibleItems = 6;
#endif
            this.ViewModel = new MainViewModel(visibleItems);
            this.NavigationCacheMode = NavigationCacheMode.Required;
            this.InitializeComponent();

            ViewModel.Actions.Add(new ActionInfo
            {
                Name = "AboutButton",
                Style = ActionKnownStyles.About,
                ActionType = ActionType.Secondary,
                Command = PlatformCommands.About
            });

            ViewModel.Actions.Add(new ActionInfo
            {
                Name = "PrivacyButton",
                Style = ActionKnownStyles.Privacy,
                ActionType = ActionType.Secondary,
                Command = PlatformCommands.Privacy
            });
        }