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

  • Home
  • SEARCH
  • 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 9058777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:48:25+00:00 2026-06-16T14:48:25+00:00

I already read this thread , but I don’t figure out what BitmapCache does.

  • 0

I already read this thread, but I don’t figure out what BitmapCache does.

According to msdn,

Bitmap caching allows visual elements to be stored as bitmaps after
the first render pass. After the element is cached, the application
bypasses the render phase for the cached visual element and displays
the stored bitmap instead.

I set CacheMode="BitmapCache" for my ListBox. I think that after the 1st render, the OS will save its visual as a bitmap, then continue to show that bitmap in each frame, without render it again. I think the ListBox should be static now. But I can still scrolling the Listbox.

I must understand it wrong. Please explain what BitmapCache does ?

If it is good, why don’t we set BitmapCache for every element ?

  • 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-16T14:48:26+00:00Added an answer on June 16, 2026 at 2:48 pm

    I think the ListBox should be static now. But I can still scrolling the Listbox.

    When you scroll the listbox, it redraws its content, thus updating the cached representation. The bitmap cache is useful for some transformations, like a translation. In those cases, the cached representation has many advantages:

    1. The control doesn’t have to redraw its content => CPU economy
    2. Since the visual representation isn’t dependent of the control anymore, it can be handled directly by the GPU

    If it is good, why don’t we set BitmapCache for every element ?

    BitmapCache uses more memory, and it seems there’s corner cases where it can actually have a negative performance impact (though I’m not knowledgeable enough on the subject to enumerate them). A good way to know if BitmapCache should be turned on is to set the EnableRedrawRegions setting to true. The emulator will then show which areas are redrawn, and you can set the BitmapCache accordingly.

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

Sidebar

Related Questions

I have read some threads about this already but I don't understand the code,
I've already read this question and this question and this , but none of
I've already read through the similar questions on this topic, but none of them
I read through many of solutions of this problem already, but I still can't
I already read the datasheet and google but I still don't understand something. In
I have already checked this thread - Coding Magazines - but it has nothing
Read this thread but didn't really answer my question and there were quite a
I have read some threads regarding this and I did already take steps to
I already read this trick in the cookbook: http://book.cakephp.org/2.0/en/models/model-attributes.html#usetable Now I would like to
Possible Duplicate: What’s with the love of dynamic Languages I have already read this

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.