I have two lists with different ItemsSource but with SelectedItem bound to the same property - "Name".
First i'm choosing the item "c" in the right list so the item "c" in the left list is selected as well.
Than I selected another item in the right…
I want to show the selected item in a list view automatically(it isn't possible to show all items without scrolling).
this.listView.SelectedIndex = 999; selects of course an item, but it doesn't show it.
what can I use to show it automatically…
I cannot set the background color for the selected item on a list box. I don't want the alternating colors in this example. I put them in as a test and they work. Trigger IsSelected is firing as the fontweight goes to bold and the foreground goes…
When I click a cell in my DataGridComboBoxColumn the ComboBox gets visible and I can select items. When I have selected an item its visible at the top thats fine. But when the cell aka ComboBox loses its focus because I click something different in…
I'm trying to get all the selected items ValueMember from a ListBox with C#.
For ex.:
I've a list like this:
ID | Name and Lastname
----------------------
1 | John Something
2 | Peter Something2
3 | Mary Smith
This structure is part of my…
So, I have a TabControl binded to a list of projects (each tab is a one project) - that works fine. The content of each tab is a DataGrid with a list of project's employees - that works fine as well. Now, I want to show some information on employee…
I had used a ListView to show some data (String) retrieved from the database...quite simple, but one of my cooworkers decided to put an image in front of the text in the screen. We were not able to do it with Listview, but we found some example with…
I have a bunch of combos that all share the same available choices. These choices are provided in a collection exposed from my ViewModel. All fine and dandy.
I now want these choices sorted, so I decided to expose an ICollectionView from my…
@Override
public void onBindViewHolder(final mainscreenspecializationadap.MyViewHolder holder, final int positionz) {
this.position = holder.getAdapterPosition();
final specializationpojo album =…
I have a listView of contacts that I got from the Android ContactManager sample. This list is showing up fine, but I can't figure out how to get info from the selected item, like "name" and "phone number".
I can get the selected position, but the…
I want to have selected tab background set to red and unselected to green. However only unselected tab is colored on green when changing. Selected remains white.
…