protected override void OnActivate(ActivityDesigner designer) { if ((designer != null) && (designer.DesignerActions.Count > 0)) { Rectangle bounds = this.GetBounds(designer, false); Point location = designer.ParentView.LogicalPointToScreen(new Point(bounds.Left, bounds.Bottom)); DesignerHelpers.ShowDesignerVerbs(designer, location, DesignerHelpers.GetDesignerActionVerbs(designer, designer.DesignerActions)); } }