Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong behaviour when listbox panel is StackPanel FlowDirection="RightToLeft" Orientation="Horizontal" #55

Closed
mesta1 opened this issue Mar 19, 2013 · 0 comments
Assignees

Comments

@mesta1
Copy link

mesta1 commented Mar 19, 2013

I have a listbox with ItemsPanelTemplate set to:
StackPanel FlowDirection="RightToLeft" Orientation="Horizontal"

There is a wrong behaviour when dragging from middle or righ-most item and dropping before the left-most item.
I have two different behaviour:

  1. in one project i didn't implemented the interface IDropInfo and when i drop it, it drops after the left-most item and not before.
    example:
    [5] [4] [3] [2] : i grab [2] and put before [5]
    expected = [2] [5] [4] [3]
    result = [5] [2] [4] [3]
  2. in another project i implemented a IDropInfo interface and it's working, but the preview is shown on the right and not on the left.

example:
[5] [4] [3] [2] : i grab [2] and put before [5]
expected preview (the character "|") = | [5] [4] [3] [2]
result = [5] | [4] [3] [2]

@ghost ghost assigned punker76 Mar 19, 2013
punker76 pushed a commit that referenced this issue Mar 25, 2013
Wrong behaviour when listbox panel is StackPanel
FlowDirection="RightToLeft" Orientation="Horizontal"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants