About 2,070 results
Open links in new tab
  1. VB .Net WPF MVVM remove item from observable collection when not …

    Jan 1, 2014 · 1) How can I access the OpenWorkspaces observablecollection when I'm not in the ViewModel which it is attached to? Was I wrong to add my close command to the Workspace class? …

  2. [UWP] [XAML] [C#] Listview with inner GridView

    May 16, 2016 · But if your itemsource was large, this way was not good. It might cause some performance problems. Then I would suggest that you could use MVVM to do it. You could bind …

  3. Not understanding how to RemoveAt () in ObservableCollection ListView.

    Nov 3, 2010 · I've created an MRU listView with buttons in WPF and I know how to determine which itme in the listview was clicked but I'm having trouble removing the item from the listview using remove at.

  4. DataTemplate TargetType (x:Type) ObservableCollection

    Jan 19, 2010 · It would look something like this <DataTemplate DataType="ObservableCollection (ViewModel)"/> However, we don't have support for it in compiled BAML scenarios which is the …

  5. [UWP] [XAML] How to get selected index of a Radio Button in Listview

    Jun 8, 2016 · So it's simple . i Have Radio Buttons inside a Listview. when i select a Radio Button it is Not Firing Selection Changed Event.Why Because corresponding mouse event is handled internally …

  6. ObservableCollection.Move () with ListBox - Odd behaviour

    Mar 18, 2007 · I've got a ListBox bound to an ObservableCollection (through ItemsSource) and I'm getting some weird behaviour with Move () operations on the collection. The collection contains a …

  7. Binding to properties on ObservableCollection problem

    Dec 23, 2009 · Yes, each item in the items source (another ObservableCollection) has a property called ViewModelList which is an ObservableCollection and I want to show the Count for that array for each …

  8. Xamarin Forms CollectionView throwing …

    Nov 22, 2019 · I have a Xamarin forms project which consists of a ColectionView whose ItemSource is backed by a bindable property of type ObservableCollection in the ViewModel. Adding new items to …

  9. In WPF/C#, Showing a list of index numbers in a Listbox, based on a ...

    Mar 8, 2014 · First thing is to use an ObservableCollection rather than a List. Adding/Removing items from a List will not be shown in the GUI unless you rebind the entire list. To get the index of an item …

  10. delete row in listview [WPF] - social.msdn.microsoft.com

    Apr 15, 2012 · In resources such as Window.Resources, first initializing the collection that needs to be a ObservableCollection with a key, and second assign the key to CollectionViewSource.Source. In …