I have a ListBox which contain text and image. When the user click on an Item I want that it will expand to the side and will show some more information. I have tried to do it with Expander control, but it's does'nt expand over the ListBox border. Does anyone have开发者_Go百科 any suggestions ?
This sounds like a classic master/detail type of user interface - the ListBox is the master, and you want some detail to show once the user selects an item.
If the tooltip suggestion from Notter is not suitable, then i would suggest that you have your expander control beside the ListBox, not inside of it. There are already a multitude of posts here on SO deailing with this (usually using the DataGrid as the master, but the concept is the same), check out this search and see if anything is helpful.
You can maybe use a Popup/tooltip control (forgot it's name) other than that, i can't think of anything that will do what you're asking, but i'm pretty sure anything you'll do won't have anything to do with the ListBox itself, but with the DataTemplate
精彩评论