listbox
How to change the content of ListBox when clicked on ListBoxItem?
I have a ListBox and I whant to bind it to a generic list with items of my type (SubscribeUnit). List<SubscribeUnit> Subscribes = new List<SubscribeUnit>();[详细]
2023-04-10 07:04 分类:问答How to set tooltip with many rows for each (dynamic) listbox item in Silverlight
I would like to set in Silverlight for each item in a ListBox a tooltip with many rows. In XAML i have a listbox and a button:[详细]
2023-04-10 06:30 分类:问答wp7: highlight selected image within a listbox
I have a list box where I\'m displaying a list of icons.I want to highlight the selected item by changing the icon color from \'white\' to \'blue\'.This sounds simple to me, 开发者_如何学编程but it se[详细]
2023-04-10 03:44 分类:问答custom templated listboxitem trigger bind to the listbox
I have a class inherited from ListBox and a custom ControlTemplate for the ListBoxItems. I want to change the ListBoxItems background if a condition is true. I tried to use DataTrigger for this. I don[详细]
2023-04-09 23:03 分类:问答Get selected item in listbox and call another function storing the selected for it
I have a canvas that calls createCategoryMeny(x) when it is clicked. This function just creates a Toplevel() window,[详细]
2023-04-09 12:00 分类:问答Adding Items to a ListBox
I have a WPF main window, which contains a toolbar with buttons and a tabcontrol that is displaying a page with a listbox. The page is hosted on a frame, and the frame is set on the tab I selected.[详细]
2023-04-09 03:54 分类:问答XAML Stop List Box Text Style Changing on Defocus
I have an issue with a .NET 4 XAML program which con开发者_运维问答tains a ListBox. When a the list box looses focus the text turns to grey rather than the set white colour. The background did do this[详细]
2023-04-09 02:45 分类:问答WPF height and scroll at listbox - imposible
To keep things simple all i am trying to do is to place a listbox and a button below it. Although it seems simple it isn\'t.It is not, because it is in a GRID...[详细]
2023-04-08 22:49 分类:问答Get value from listbox item
I\'m trying to get just the value from all items in a listbox using c# (winforms). I have a combo开发者_如何转开发box with multiple items, this are filled from datasource and whem I commit a selection[详细]
2023-04-08 22:25 分类:问答Why does the WPF listbox change selection on mouse button down rather than button up?
I had never noticed this before, but the WPF ListBox seems to change its SelectedItem when theMouse is down, but has not yet been released. As a quick example, just create a simple 开发者_如何转开发Li[详细]
2023-04-08 22:07 分类:问答