According to some forum posts, I have understood you don't support this ListBox control anymore, since this is an internal control used for RadScheduler only. But for my project (a mvvm one) I've been facing the need of using a DataTemplateSelector, in order to populate lot of ListBoxes with custom UserControls, depending on the type of Item it contains.
The problem with this ListBox is it catch the keyboard events internally, and my itemControls doesn't receive any key event. And in my case I intend to to use different input controls on each itemControl... Sad... Then I have tried to find with Reflector what type of other controls use the Telerik.Windows.Controls.ItemsControl, or the Telerik.Windows.Controls.Selector in order to use the XAML ItemTemplateSelector DepedencyProperty, and the only plausible alternatives I found were the GridView and the TreeView, which are far from the requested behavior...
Now, I have understood you will not provide any support on this control, but I'm still looking for a solution...
I have tried to derive the ListBox control, but it is not possible to override some needed parts. And I really think I will loose lot of time if I begin to fully rewrite this control...
I think you can have a simple idea in order to help me achieve this goal : use a DataTemplateSelector into a ListBox.
I have open a bug report ticket with a test project (http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=411160), but I still have no answer, and I really prefer to post here what I intend to do in order to find a solution with you, than reading an answer just explaining "there is no support for this internal control"....
Really hoping you can help me.
Bests,
The problem with this ListBox is it catch the keyboard events internally, and my itemControls doesn't receive any key event. And in my case I intend to to use different input controls on each itemControl... Sad... Then I have tried to find with Reflector what type of other controls use the Telerik.Windows.Controls.ItemsControl, or the Telerik.Windows.Controls.Selector in order to use the XAML ItemTemplateSelector DepedencyProperty, and the only plausible alternatives I found were the GridView and the TreeView, which are far from the requested behavior...
Now, I have understood you will not provide any support on this control, but I'm still looking for a solution...
I have tried to derive the ListBox control, but it is not possible to override some needed parts. And I really think I will loose lot of time if I begin to fully rewrite this control...
I think you can have a simple idea in order to help me achieve this goal : use a DataTemplateSelector into a ListBox.
I have open a bug report ticket with a test project (http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=411160), but I still have no answer, and I really prefer to post here what I intend to do in order to find a solution with you, than reading an answer just explaining "there is no support for this internal control"....
Really hoping you can help me.
Bests,