Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7490459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:36:35+00:00 2026-05-29T15:36:35+00:00

I am currently coding an application that involves navigating between pivot control. There will

  • 0

I am currently coding an application that involves navigating between pivot control.

There will be a total of 8 pivots. I’ve already done one and am currently working on the second one. However, when I repeat the same thing as what I did with the first pivot control, an error shows up. Please refer below for the code and the error.

I am new to WP7 development. Any help would be much appreciated.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;


namespace SGFoodDirectory
{
    public partial class Alcohol : PhoneApplicationPage
    {
        public Alcohol()
        {
            InitializeComponent();
        }

        private void BC_Click(object sender, RoutedEventArgs e)
        {
            AlPivot.SelectedItem = BcPivot;
        }

        private void MabukMoney_Click(object sender, RoutedEventArgs e)
        {
            AlPivot.SelectedItem = MmPivot;
        }
    }
}

Error:

Microsoft.Phone.Controls.PivotItem' does not contain a definition for 'SelectedItems' and no extension method 'SelectedItems' accepting a first argument of type 'Microsoft.Phone.Controls.PivotItem' could be found (are you missing a using directive or an assembly reference?)  
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T15:36:36+00:00Added an answer on May 29, 2026 at 3:36 pm

    Please don’t do that – pivots are designed to be navigated by the user using touch. From experience of seeing other apps that do this it is very confusing if the code jumps you to another pivot item on a button click.

    Also, having 8 pivot items seems a bit high: this may well cause problems with memory usage as well as the general usability of having to flick your page 8 times to rotate back to the start.

    I’d recommend rethinking your application flow using other PhoneApplicationPages so you don’t need to do this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently implementing a Monotouch application that will eventually be ported to Monodroid. The
Currently my workflow with Emacs when I am coding in C or C++ involves
I'm currently in the process of writing an application that has quite a number
I'm currently building a Java daemon that will need to be able to sign
In my application I have a control that displays hex data: I want to
I am currently coding a chat application-like-thing, and it writes and reads from a
I currently have a single application that needs to be started from a windows
I'm currently working on an application that in addition to the usual visual web
I'm currently developing a C-module for a Java-application that needs some performance improvements (see
Lets say I have a Silverlight application that currently talks to a WebRole in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.