Exemplo n.º 1
0
 private void SetActiveContainer(PropertyViewContainer pc)
 {
     if ((this.activeContainer != pc) && (pc != null))
     {
         this.activeContainer = pc;
         UpdateSelectedObjectIfActive(pc);
         UpdateSelectableIfActive(pc);
     }
 }
Exemplo n.º 2
0
 internal static void UpdateSelectedObjectIfActive(PropertyViewContainer container)
 {
     LoggingService.Debug("will UpdateSelectedObjectIfActive");
     PropertyView instance = Instance;
     if ((instance != null) && ((container != null) && (instance.activeContainer == container)))
     {
         LoggingService.Debug("UpdateSelectedObjectIfActive");
         instance.SetDesignableObject(container.SelectedObject);
     }
 }