Hi,
it is posible to use RadListbox to reorder items by drag&drop whihe wrappanel is set as ItemsPanel?
it is posible to use RadListbox to reorder items by drag&drop whihe wrappanel is set as ItemsPanel?
<
telerik:RadListBox
ItemsSource
=
"{Binding Items}"
SelectedItem
=
"{Binding SelectedItem, Mode=TwoWay}"
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
>
<
telerik:RadListBox.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadListBoxItem"
BasedOn
=
"{StaticResource RadListBoxItemStyle}"
>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
</
Style
>
</
telerik:RadListBox.ItemContainerStyle
>
<
telerik:RadListBox.DragVisualProvider
>
<
telerik:ScreenshotDragVisualProvider
/>
</
telerik:RadListBox.DragVisualProvider
>
<
telerik:RadListBox.DragDropBehavior
>
<
telerik:ListBoxDragDropBehavior
AllowReorder
=
"True"
/>
</
telerik:RadListBox.DragDropBehavior
>
<
telerik:RadListBox.ItemsPanel
>
<
ItemsPanelTemplate
>
<
WrapPanel
/>
</
ItemsPanelTemplate
>
</
telerik:RadListBox.ItemsPanel
>