private void RefreshPropertyGrid()
        {
            VisualObjectCollection col = new VisualObjectCollection();

            col.AddRange(Host.SceneManager.CurrentScreen.VisualObjects);

            pgSceneObjects.SelectedObject = col;
        }
        public void OnObjectAddedToScene(VisualObject vo)
        {
            VisualObjectCollection col = new VisualObjectCollection();

            col.AddRange(Host.SceneManager.CurrentScreen.VisualObjects);

            pgSceneObjects.SelectedObject = col;
        }