public void AddChild(IRenderer child, Point position) { this.RendererChildren.SafeAdd(child); if (!DesignTime.IsLocked(this)) { OnAddedChild(child, position); } }
public void RemoveChild(IRenderer child) { this.RendererChildren.SafeRemove(child); if (!DesignTime.IsLocked(this)) { OnRemovedChild(child); } }
private void InitializeSelector() { this.AddSelectedHandler(OnSelected); this.AddUnselectedHandler(OnUnselected); if (!DesignTime.IsLocked(this)) { GroupSelector.Select(this, true); } }