Floating drop down menu

Product: PowerShell Universal
Version: 4.4.0 /5.3.0

Simple question:
How to create (even with some customization) drop down menu similar to one that is showing when you click on your account in admin page ?

I want this menu to show near the object that has onclick action (i.e. udbutton or udicon) (has to be floating ? or have four directions : right,left,top,bottom )