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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:46:57+00:00 2026-05-26T14:46:57+00:00

I have a list of items displayed as a ListBox. <ListView ItemsSource={Binding ListOfSomeItems}> <ListView.View>

  • 0

I have a list of items displayed as a ListBox.

<ListView ItemsSource="{Binding ListOfSomeItems}">
    <ListView.View>
        <GridView>
            <GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}"/>
            <GridViewColumn Header="Status">
                <GridViewColumn.CellTemplate>
                    <DataTemplate>
                        <CheckBox IsChecked="{Binding IsReceived}" />
                    </DataTemplate>
                </GridViewColumn.CellTemplate>
            </GridViewColumn>
        </GridView>
    </ListView.View>
</ListView>

Now there is 2 user cases I need to implement:

1) When user mark an Item as received (the CheckBox get checked) I need to update the item. How should I bind the checked event to ICommand in my ViewModel?

2) When user tries to remove received flag (un-checks the checkBox) a pop up should be provided with an option to cancel the operation (if someone clicked the checkBox by accident) or to provide a note for a reason. That note along with the Item that been unchecked should be sent to different ICommand in VM.

Any suggestions?

Thanks in advance

UPDATE:
My viewModel do implements INoftiyPropertyChanged but I do not have property for the single item. The property is nested in complex class: something like Account.Holders[x].Requirements[y].IsReceived.

  • 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-26T14:46:58+00:00Added an answer on May 26, 2026 at 2:46 pm
    1. Why just not bind a command which should be exposed by ViewModel:
    <CheckBox 
         Command="{Binding ReceivedStatusChangedCommand}"
         CommandParameter="{Binding ...IsReceived}"
    />
    

    Then in command handler you can analyze passed in value of the IsReceived as command parameter.

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

Sidebar

Related Questions

I have a list of items that are displayed using a ListView from a
I have created a list view that displays the names and dates of items
I have a list of items that I wish to display with a separator
I have a ListCtrl that displays a list of items for the user to
I have a page with a list of elements display (items) - which are
We have a scenario where we want to display a list of items and
I have a (derived) Menu control, that displays a rather large list of items
I have a list which is dynamically built, but there are empty list items
Can someone suggest what I am doing wrong? Basically I have a List Items,
I have List with n items. I wish transform my list to new list,

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.