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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:32:23+00:00 2026-06-17T20:32:23+00:00

I apologize in advance, this one is hard to explain. I have a GridView

  • 0

I apologize in advance, this one is hard to explain.

I have a GridView full of tiles that are selectable. When a selection is made, the bottom AppBar appears by setting IsOpen and IsSticky to true. This works fine.

However, when the AppBar appears after the first selection, it captures any touch activity and then releases it after any touch to an area outside the AppBar, but that touch gesture gets absorbed. I end up touching the screen twice to perform a second selection.

In the start screen of Windows 8, you can select multiple tiles one after another seamlessly. The bottom bar that appears doesn’t not interfere with subsequent touch gestures. But inside my app, the bar captures the first gesture and I end up selecting the second tile twice. It makes my app feel unresponsive.

How do I fix this?

To Replicate this:

1) Start a new “Grid App (XAML)” under Windows Store in Visual Studio 2012.

2) In the GroupedItemsPage.xaml, add the following XAML to it:

<Page.BottomAppBar>
    <AppBar>
        <Button Content="X"/>
    </AppBar>
</Page.BottomAppBar>

3) Find the GridView with x:Name=”itemGridView” and set its SelectionMode=”Extended” and IsSwipeEnabled=”true”

<GridView
    x:Name="itemGridView"
    AutomationProperties.AutomationId="ItemGridView"
    AutomationProperties.Name="Grouped Items"
    Grid.RowSpan="2"
    Padding="116,137,40,46"
    ItemsSource="{Binding Source={StaticResource groupedItemsViewSource}}"
    SelectionMode="Extended"
    IsSwipeEnabled="true"
    IsItemClickEnabled="True"
    ItemClick="ItemView_ItemClick">

4) Add the following code in the code-behind file:

public GroupedItemsPage()
    {
        this.InitializeComponent();

        itemGridView.SelectionChanged += ItemGridViewOnSelectionChanged;
    }

    private void ItemGridViewOnSelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        if (itemGridView.SelectedItems.Count > 0)
        {
            this.BottomAppBar.IsOpen = true;
            this.BottomAppBar.IsSticky = true;
        }
        else
        {
            this.BottomAppBar.IsSticky = false;
            this.BottomAppBar.IsOpen = false;
        }
    }

5) Run it and watch out the app bar appears after the first selection, but then your second gesture to select the second tile is absorbed.

  • 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-17T20:32:24+00:00Added an answer on June 17, 2026 at 8:32 pm

    Believe it or not the solution is really simple. You have to change the order of how you set BottomAppBar.IsOpen and BottomAppBar.IsSticky:

    private void ItemGridViewOnSelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        if (itemGridView.SelectedItems.Count > 0)
        {
            //this.BottomAppBar.IsOpen = true;
            //this.BottomAppBar.IsSticky = true;
    
            // must be done in this order for the app bar to work correctly
            this.BottomAppBar.IsSticky = true;
            this.BottomAppBar.IsOpen = true;
        }
        else
        {
            //this.BottomAppBar.IsSticky = false;
            //this.BottomAppBar.IsOpen = false;
    
            // I have a note in my code to use the following order,
            // but ordering for this doesn't seem to matter.
            this.BottomAppBar.IsOpen = false;
            this.BottomAppBar.IsSticky = false;
        }
    }
    

    I’m not sure why the ordering matters, but it does.

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

Sidebar

Related Questions

This is a very noobish question, so I apologize in advance! I have two
I apologize in advance for the rambling nature of this question, but I have
This question might be very abstract, so apologize in advance. I have a log
I apologize in advance for asking this question, I know similar questions have already
I apologize in advance if this is an incredibly dumb question... Currently I have
This feels like a super newb question, so apologizes in advance. How does one
I apologize in advance if this question seems confused. The behaviour I am seeing
I will apologize in advance as this post is born out of severe frustration.
I apologize in advance, if this question doesn't make sense. I'm a newbie. I
I apologize in advance for not knowing how to better state this question. 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.