Category / Section
How do I add a ColorUI control to a popup menu?
1 min read
You have to use the DropDownBarItem to host any custom controls in a PopupMenu item's popup. The DropDownBarItem can host a PopupControlContainer and you could place your custom control within this PopupControlContainer.
The following steps must be followed to add a ColorUIControl to a popup menu:
- Add a DropDownBarItem to the PopupMenu.ParentBarItem.
- Add a PopupControlContainer to the form.
- Add a ColorUIControl to the PopupControlContainer and set its Dock property to Fill.
- Set this PopupControlContainer as the DropDownBarItem's PopupControlContainer.