UXListBox DragEvent

4 replies. Last post: January 14, 2011 10:19 AM by Ross Santos
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ross SantosMember

After reviewing the documentation, I was still unclear how I could intercept a Drop event in an MVVM environment.  Does anyone know how this can be done?  Below is my UXListBox.

                    <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>


Thanks,


Ross

All times are GMT -5. The time now is 1:46 PM.
Previous Next