From f0cc46dbbb3231cb8926df132fd6cdb63fda5e4d Mon Sep 17 00:00:00 2001 From: Asha Bhaskaran Date: Wed, 13 Aug 2025 14:54:16 +0530 Subject: [PATCH] add image alt tag --- .../faq/How-to-add-a-ColorUI-Control-to-a-Popup-Menu.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WindowsForms/colorui/faq/How-to-add-a-ColorUI-Control-to-a-Popup-Menu.md b/WindowsForms/colorui/faq/How-to-add-a-ColorUI-Control-to-a-Popup-Menu.md index 06c6454e6..ca7ec3720 100644 --- a/WindowsForms/colorui/faq/How-to-add-a-ColorUI-Control-to-a-Popup-Menu.md +++ b/WindowsForms/colorui/faq/How-to-add-a-ColorUI-Control-to-a-Popup-Menu.md @@ -13,11 +13,11 @@ To add ColorUIControl to a PopupMenu, we need to use PopupMenu, PopupControlCont 1. Drag and drop a ColorUIControl, a PopupMenu control, a PopupControlContainer control, a label control and a Panel control onto the form. Place the ColorUIControl inside the PopupControlContainer and the label inside the panel control. 2. Right click PopupMenu and select 'Add Default ParentBarItem" from the verbs. - ![](FAQ_images/Overview_img240.jpeg) + ![add default parent bar item in colorui.](FAQ_images/Overview_img240.jpeg) 3. In the property grid of PopupMenu, expand ParentBarItem, then add a DropDownBarItem to the ParentBarItem using BarItem Collection Editor. Also set the PopupControlContainer as the DropDownBarItem's PopupControlContainer as shown in the image below. - ![](FAQ_images/Overview_img241.jpeg) + ![the drop down bar item’s popup control container in colorui](FAQ_images/Overview_img241.jpeg) 4. In the MouseUp event of the Panel control call the PopupMenu.Show method. @@ -43,6 +43,6 @@ End Sub {% endcapture %} {{ codesnippet1 | OrderList_Indent_Level_1 }} - ![](FAQ_images/Overview_img242.jpeg) + ![the panel control call the popup menu.show method in colorui.](FAQ_images/Overview_img242.jpeg) N> You can close the popup whenever a color is selected at run time. This is done using ColorUIControl.ColorSelected Event.