I have a ContextMenuStrip declared in a custom control and i cant find a way to make a property for that custom control that Gets and Sets the ContextMenuStrip's items collection i tried something like this but it doesnt work.
ContextMenuStrip _Menu = new ContextMenuStrip(); public ToolStripItemCollection MenuItems { get { return _Menu.Items; } set { _Menu.Items = value; } }
How can thisd be done?