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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:39:08+00:00 2026-06-17T09:39:08+00:00

I have an array that populates a ListBox in my app. At first I

  • 0

I have an array that populates a ListBox in my app. At first I need to set the foreground of each listboxItem to gray, and that’s easy enough through Binding the foreground color to the listboxItem.

The problem comes in where I then have to seperately (based other back end factors) set specific listboxItems foreground to black. The trick being to select a specific item on the already populated listbox and re-set the foreground without having to re-render the entire listbox.

The objects that I bind to the listbox each does have a guid/unique-id. So if I could just select the item on the listbox (‘where id=1635135;?), and then set that items foreground to black..

It’s quite difficult to explain this a bit more clearly, but if you have any questions please ask! Thanks!

  • 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-17T09:39:09+00:00Added an answer on June 17, 2026 at 9:39 am

    If you implement the INotifyPropertyChanged in your ViewModel, just change the Foreground property to black for the items you want and they will automaticaly change from gray to black in your UI.

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

Sidebar

Related Questions

I have this array that populates a dropdown menu. The key is my database
So I have a listbox that is being populated by an array and has
I have a superclass Trail that populates an array myList[] . I want a
I have the following code that populates an array (this is within a loop):
Hi I have a master array that populates the tableview and I have a
I have a function that populates an array that was created before the function
I have an array that I populate with parents, children, children of children, children
I have an array that was populated by this script : var imgs =
Hi guys i have an array that is populated with dates Array ( [0]
I have an associative array in awk that gets populated like this: chr_count[$3]++ When

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.