Hi Telerik team
We are building a huge Silverlight application using your controls, and we are struggling to find the correct control to use application-wide. We need some sort of itemscontrol to be used all over, with slightly different requirements, but in general these are the things the need to have in common:
- Itemscontrol, bindable to datasource
- Header (with borders between each header label and the SAME COLUMN WIDTH as the items below)
- Easily STYLEABLE so that the Style and "ItemStyle" can be reused/reapplied easily all over
- Need to be able to speciy different ItemTemplate and HeaderTemplate e.g. sometimes these could consist of 2 TextBlocks (databound) each, but sometimes it could be 5 textblocks and a checkbox etc...
- Multiselect - user must be able to select many items at once by clicking on them
- States on items - we need to be able to have mouseover and selected states on each of the items (not the Itempresenter as a whole)
- Ideally the user should be able to double-click on an item and fire off another event... but I think theTelerik.Windows.Input should be able to help is with implementing that on any control.
We've tried both the GridView and HeaderedItemsControl but we're finding that one is too much and one too little. Is there something half-way in between these two, e.g. a HeaderedListBox?! In my view a ListBox would be the ideal control, if you could add a Header bit onto the top and make sure that the header is somehow "pinned" to the ListBox so that if the Listbox widens, the header items widen with it.
The problem with the HeaderedItemsControl is that is it not easily styleable (i.e. you CAN style the HeaderTemplate but that happens IN the data template istelf and is therefore not easily reused on other controls by just applying a style); and I can't find a way to create the states needed per item.
The problem with the GridView is that it's "overkill" for what we need, and also we're finding it a nightmare to style to our specifications. We do have to overcome this though because we do need to use GridViews elsewhere, so I'll battle on with that in the meantime. Any updates on whether the HeaderRowStyle actually gets applied in the latest control suite update?
Please help!! Any suggestions and sample code would be greatly appreciated!
Thanks in advance, Debbie