private void SetActiveContainer(PropertyViewContainer pc) { if ((this.activeContainer != pc) && (pc != null)) { this.activeContainer = pc; UpdateSelectedObjectIfActive(pc); UpdateSelectableIfActive(pc); } }
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); } }