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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:53:35+00:00 2026-05-13T17:53:35+00:00

I have a UI with some controls, then in the middle I have 6

  • 0

I have a UI with some controls, then in the middle I have 6 overlapping grids. I am using these grids as ‘pages’ and as the user navigates through the ‘pages’ I cycle through using Visible.Hidden and Visible.Visible to show the correct ‘page’.

I noticed while developing as I was adding more grids the application started to slow down (a lot). It wasn’t really a problem until I added 6 more images to the last page. Since, the application is very slow even on my (faster than average) PC.

Do you have any advice on how I can still achieve the same look and feel but use a more efficient method?

Thanks in advance.

  • 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-13T17:53:36+00:00Added an answer on May 13, 2026 at 5:53 pm

    All in all it’s not a good idea to have a bunch of overlapping controls like you have, because as you noticed, there are performance problems. You want to minimize the number of controls which are present in your application at any one time.

    If you have a limited number of pages, use TabControl.

    If you have a large or dynamic number of pages, consider Frames and Pages.

    A third option is to have a hosting “shell” control with a ContentPresenter. Then whenever you want to navigate to a different page, just set the control’s Content to a new instance of your page view.

    Your views are separate from your data models, right? If not, consider using the MVVM pattern. This will allow you to have persistent data regardless of which view is showing (e.g. dynamically creating and destroying views won’t mess up your data).

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

Sidebar

Related Questions

I have a WPF application using MVVM. I have some user controls that show
I have an ASP.NET page using the AJAX control toolkit for some controls. A
For some user controls, I have this binding: AppLanguage={Binding Path=ApplicationLanguage, Source={x:Static Application.Current}} This works
I have a page (telerik:RadPage) containing few grids and some nested controls and I
I have a ASP.NET Web Forms application and I'm using some dynamic controls in
I have a Custom Canvas(DesignerCanvas), user can add some controls to this canvas. Before
I have some UI controls that are using DataBindings.Add method, and it works if
I have a method where I disable or enable some custom controls and then
I am new to WPF. I have Created some user Controls with some basic
I have a grid with some controls inside. I want to hide the grid

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.