We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i created complex itemspanel on treeview control, DropInfo.VisualTargetOrientation has something wrong.
Root TreeViewItem ItemsPanel : stackpanel vertical Child TreeViewItem ItemsPanel : wrappanel horizontal
when i drag child Item, drop adorner appears on top.
Below is a sample code.
<TreeView Grid.Column="0" Grid.Row="1" ItemsSource="{Binding TreeCollection}" dd:DragDrop.IsDragSource="True" dd:DragDrop.IsDropTarget="True"> <TreeView.ItemContainerStyle> <Style TargetType="TreeViewItem"> <Setter Property="ItemsPanel"> <Setter.Value> <ItemsPanelTemplate> <WrapPanel Orientation="Horizontal" Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType=ScrollContentPresenter}}"/> </ItemsPanelTemplate> </Setter.Value> </Setter> </Style> </TreeView.ItemContainerStyle> <TreeView.ItemTemplate> <HierarchicalDataTemplate ItemsSource="{Binding Children}"> <TextBlock Text="{Binding Caption}" /> </HierarchicalDataTemplate> </TreeView.ItemTemplate> </TreeView>
The text was updated successfully, but these errors were encountered:
2cb3058
Issue #88 sample
2fcfa41
No branches or pull requests
when i created complex itemspanel on treeview control,
DropInfo.VisualTargetOrientation has something wrong.
Root TreeViewItem ItemsPanel : stackpanel vertical
Child TreeViewItem ItemsPanel : wrappanel horizontal
when i drag child Item, drop adorner appears on top.
Below is a sample code.
The text was updated successfully, but these errors were encountered: