This question is locked. New answers and comments are not allowed.
Hello Telerik,
I am currently using SL5 with telerik version 2012.1.326.1050
I have an issue when applying the metro theme to a RadListBox which has drag and drop enabled.
If i don't apply the theme, drag and drop works fine with the below code, as soon as I apply the theme it stops working, I have also tried different DragDropManager.AllowCapturedDrag/DragDropManager.AllowDrag combination.
Any suggestions?
Best regards,
Mihai.
I am currently using SL5 with telerik version 2012.1.326.1050
I have an issue when applying the metro theme to a RadListBox which has drag and drop enabled.
If i don't apply the theme, drag and drop works fine with the below code, as soon as I apply the theme it stops working, I have also tried different DragDropManager.AllowCapturedDrag/DragDropManager.AllowDrag combination.
<telerik:RadListBox ItemsSource="{Binding PlayingCopies}" VerticalAlignment="Stretch" BorderBrush="{x:Null}" BorderThickness="0" SelectionMode="Extended" telerik:StyleManager.Theme="Metro" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ItemContainerStyle="{StaticResource RadListBoxItemStyle}" ItemTemplate="{StaticResource RadListBoxItemTemplate}" > <telerik:RadListBox.DataConverter> <common:DataConverterAppointments /> </telerik:RadListBox.DataConverter> <telerik:RadListBox.DragDropBehavior> <drag:ListBoxDragDropBehavior AllowReorder="False" /> </telerik:RadListBox.DragDropBehavior> <telerik:RadListBox.DragVisualProvider> <drag:ScreenshotDragVisualProvider /> </telerik:RadListBox.DragVisualProvider> <i:Interaction.Triggers> <i:EventTrigger EventName="SelectionChanged"> <gala:EventToCommand Command="{Binding DataSource.SelectionChangedCommand, Source={StaticResource DataContextProxy}}" PassEventArgsToCommand="True"/> </i:EventTrigger> </i:Interaction.Triggers></telerik:RadListBox><Style x:Key="RadListBoxItemStyle" TargetType="telerik:RadListBoxItem" > <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True" /> <Setter Property="telerik:DragDropManager.AllowDrag" Value="True" /></Style>Any suggestions?
Best regards,
Mihai.
