|119277||May 31,2015 01:05 AM||Jun 8,2015 12:11 PM||WPF||5|
For more details about grouping feature, please visit our online help documentation link
Please let us know if you require further assistance on this,
We have analyzed your requirement. We have a suggestion to achieve your requirement by disabling the visibility of the Selector & Rotator for the Group (for example, the group will not be shown visually) and also when we drag any individual node in that group, the whole group should be move. Please refer the below suggestion.
Suggestion: To collapse the Selector & Rotator of the Group
We can collapsed the visibility of the Selector & Rotator of the Group by using the below code snippet. Now, the group selection will not be visible.
Group grp = new Group();
grp.Loaded += new RoutedEventHandler(grp_Loaded);
void grp_Loaded(object sender, RoutedEventArgs e)
Border border = (Border)VisualTreeHelper.GetChild(sender as Group, 0);
Grid grid = (Grid)VisualTreeHelper.GetChild(border, 0);
//Get the reference of Resizer of the Group
Resizer resizer = grid.FindName("PART_Resizer1") as Resizer;
//Collapse the visibility of the Resizer
resizer.Visibility = Visibility.Collapsed;
//Get the reference of Rotator of the Group
Rotator rotator = grid.FindName("PART_Rotator1") as Rotator;
//Collapse the visibility of the Rotator
rotator.Visibility = Visibility.Collapsed;
Note: When we single click on the child Node, the group selection will not be visible because the Selector & Rotator of the Group is collapsed.
Please let us know if you require further assistance on this.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.