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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:10:57+00:00 2026-06-09T02:10:57+00:00

Im having a wierd problem with a WPF (+CaliburnMicro) listBox as defined below <GroupBox

  • 0

Im having a wierd problem with a WPF (+CaliburnMicro) listBox as defined below

    <GroupBox Header="Configurations" Width="Auto" Grid.Row="1" Grid.Column="2">
        <ListBox ItemsSource="{Binding SelectableConfigurations}" BorderThickness="0" Width="Auto">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel/>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <CheckBox Content="{Binding Path=Name}" IsChecked="{Binding Path=IsSelected}" Margin="15,3" />
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ListBox>
    </GroupBox>

It appears that when i select an item in the list it modifies the item in the bound list but not in other places the item is referenced. IE the below code updates the item in the _selectableConfigurations list but not the original object as attached to the _sc list.

It appears that when the property was modified the original object was replaced in the list rather than simply updated. Is this the case?

    private readonly List<SelectableConfiguration> _selectableConfigurations;
    private ISelectableConfigurations _sc;

    public ConfigurationTabViewModel(
        ISelectableConfigurations configurations)
    {
        _sc = configurations;
        _selectableConfigurations = configurations.SelectableConfigurations.ToList();
    }

    public List<SelectableConfiguration> SelectableConfigurations
    {
        get { return _selectableConfigurations; }
    }

EDIT

 public class SelectableConfiguration
    {
        public bool IsSelected { get; set; }
        public string Name { get; set; }
        public IRunableOrmConfiguration Configuration { get; set; }
    }
  • 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-09T02:10:58+00:00Added an answer on June 9, 2026 at 2:10 am

    Your item probably gets edited just fine but the rest of the UI does not know about it because the item does not “say anything”. Implement INotifyPropertyChanged in the item class.

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

Sidebar

Related Questions

I'm using django with app-engine-patch and I'm having this wierd problem running manage.py dumpdata
I'm having this wierd problem with HttpClient on Android. If I try to connect
I'm having a wierd performance problem with the DotNetZip library. In the application (which
Having a weird problem with two WPF datagrids bound to separate ObservableCollections. Here's my
I am having a wierd problem, things that worked before stopped working today, maybe
Having a wierd problem in JIRA at the moment. When Im on the Edit
Having a weird problem sprintf(tmp, \%s\, filename); I expect the output to be filename
i'm having a weird problem about copying with Xcopy. I'm using Windows Server 2008
I'm having the weird problem that after having javascript inject some dom-elements the css-rules
I'm having a weird problem with the following function, which returns a string 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.