I am new to WPF and am having a few problems detecting whether the left or right button is pressed during a DragEnter event.
I was expecting a MsgBox to appear but I get nothing.
Thanks for any help
<Button x:Name="btn1" Content="Button" HorizontalAlignment="Left" VerticalAlignment="Top" Width="329" Margin="88,94,0,0" Height="113" AllowDrop="True"/>
Private Sub btn1_DragEnter(sender As Object, e As DragEventArgs) Handles btn1.DragEnter
If Input.Mouse.LeftButton = MouseButtonState.Pressed Then
ElseIf Input.Mouse.RightButton = MouseButtonState.Pressed Then