public static void CreatePaletteSet() { PaletteSet pset = new PaletteSet(typeof(AnchorArrowView).Name, new Guid()); pset.Size = new System.Drawing.Size(300, 400); AnchorArrowView view = new AnchorArrowView(); pset.AddVisual("Анкера", view, true); pset.Style = PaletteSetStyles.NameEditable | PaletteSetStyles.ShowPropertiesMenu | PaletteSetStyles.ShowAutoHideButton | PaletteSetStyles.ShowCloseButton; pset.DockEnabled = DockSides.None; pset.EnableTransparency(true); pset.KeepFocus = true; pset.Visible = true; //return pset; }