You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I select one row in the datagrid and drag the row using "UseDefaultDragAdorner" I get this:
when I select multiple rows I don't get the DragAdorner.
Steps to reproduce the behavior:
Start the Showcase of the repository
Select DataGrid Tab
uncheck UseDefaultEffectDataTemplate
check UseDefaultDragAdorner
Select one row and drag
Select multiple rows and drag to see the differences
I would expect the same behavior with multiple rows.
If I fix the file DragDropPreview.cs line 238
from:
if (!this.UseDefaultDragAdorner && itemsCount <= maxItemsCount)
to
if (this.UseDefaultDragAdorner && itemsCount <= maxItemsCount)
it works!
The text was updated successfully, but these errors were encountered:
It would be nice if the DefaultAdorner could also be used for multiselection, but if one of the selected elements is no longer in the viewport, it may have been unloaded by the virtualization. It is therefore better to use a DragAdornerTemplate for multiselection.
If I select one row in the datagrid and drag the row using "UseDefaultDragAdorner" I get this:
when I select multiple rows I don't get the DragAdorner.
Steps to reproduce the behavior:
I would expect the same behavior with multiple rows.
If I fix the file DragDropPreview.cs line 238
from:
if (!this.UseDefaultDragAdorner && itemsCount <= maxItemsCount)
to
if (this.UseDefaultDragAdorner && itemsCount <= maxItemsCount)
it works!
The text was updated successfully, but these errors were encountered: