public void Clear()
        {
            foreach (Panel p in RootGrid.Children)
            {
                p.Children.Clear();
            }

            if (Manipulator != null)
            {
                Manipulator.Dispose();
            }

            SelectionActions.Hide();
            SelectionPolygon.Visibility   = Visibility.Collapsed;
            LeftSelectionItem.Visibility  = Visibility.Collapsed;
            RightSelectionItem.Visibility = Visibility.Collapsed;
        }