RightMouse Drag on UXListBox causes instability

3 replies. Last post: January 12, 2011 11:50 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ross SantosMember

Hello all,

We were experimenting with drag n drop and one of the testers decided to click on an item with a right mouse click then drag around in circles, eventually, the program stopped responding, another time it threw an exception.  

Here's the listbox def:

                    <Intersoft:UXListBox x:Name="lbMyMemberships" ItemsSource="{Binding OCMyMemberships, Mode=TwoWay}" SelectedItem="{Binding CurrentMyMemberships, Mode=TwoWay}" Margin="2" Height="331" ImageMemberPath="IconName" DisplayMemberPath="Description" AllowDropItem="True" AllowMoveItem="True" AllowRemoveItem="False" ItemContentType="ContentAndImage" ItemImageHeight="32" ItemImageWidth="32" ItemImageStretch="Fill" Style="{StaticResource UXListBoxTransparentStyle}" >

                        <i:Interaction.Behaviors>

                            <Intersoft:DropTargetBehavior AllowDropItem="True"/>

                        </i:Interaction.Behaviors>

                    </Intersoft:UXListBox>

We are using MVVM.  Is there a way to capture this condition and prevent the user from doing this?


Thanks,


Ross


All times are GMT -5. The time now is 9:24 PM.
Previous Next