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 8887127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:43:49+00:00 2026-06-14T21:43:49+00:00

I am porting a Desktop WPF application to WinRT and I’m facing a little

  • 0

I am porting a Desktop WPF application to WinRT and I’m facing a little issue.

I had a ItemsControl and I had a context menu on every item to delete / edit the item.

I have been told that PopupMenu are not good in WinRT and I should use a AppBar.

I think I’m doing something wrong or I misunderstood that.

I thought that I could put that options on a AppBar and when I select an element, popup the bar and click where I need.

The problem is that the AppBar will show up when I right click on any part of my app, so that buttons will show up with an item selected.

So can I change the layout of the AppBar on different contexts (because it seems that Microsoft wants us to use AppBar as context menu without context capabilities) or only show it when I want via code?

Would be good to have a TopAppBar with some App-wide options and a BottomAppBar just for ListView’s item context menu.

Or maybe I’m doing all this stuff wrong and I have to use another approach to put extra options on the Listview’s items.

  • 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-06-14T21:43:50+00:00Added an answer on June 14, 2026 at 9:43 pm

    You are thinking about this correctly. AppBar is the place where you should put all your non-essential and selection based commands.

    The guidelines here and here suggest that they should be arranged as follows:

    • Navigation commands should be in TopAppBar
    • Commands related to selection should on the left side of BottomAppBar
    • The rest of page specific commands should be on the right side of BottomAppBar

    Contextual commands should only be shown when a relevant item to that command is selected. For that purpose you should set Visibility of these commands accordingly. Also AppBar should open automatically when an item with contextual commands in it is selected. You can do that programmatically by setting its IsOpen property. You should also set it to sticky mode by via IsSticky property.

    If you’re using MVVM you can bind your viewmodel properties to all Button and AppBar properties mentioned above.

    There’s a CustomAppBar control available in WinRT XAML Toolkit. I haven’t used it myself yet but it has a couple of extra features that might prove useful in your case.

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

Sidebar

Related Questions

I'm porting some WPF code to WinRT. The code uses System.Windows.Media.Animation.ParallelTimeline to syncrhonize two
I am porting a desktop application to IPAD which is data centeric application. I
I'm porting desktop application to www with ruby on rails. Desktop application is written
I'm in the process of porting a Java desktop application to a ColdFusion web
While porting a desktop application to windows mobile I've reached the following error: Error
I'm working on porting a desktop application (WinForm) to a web application (Java/Spring/JPA). The
Porting an application from C# (1.1 framework) to VB.NET (3.5 framework), and I have
I'm porting a small Qt application to the Android . I am using Qt
I am currently porting an application from iOS into Android and I have ran
I have an application with 2 components: a desktop application that users interact with,

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.