ScrollViewer in Long PopupMenu

Jun 26, 2012 at 8:25 AM

Hi Ziad,

I am using SL4 Popupmenu control. My Popup menu generates a long list of PopupMenuItem. You know browser Height is fixed hence few portion of PopupMenu is not visible. Is it possible to provide ScrollVeiwer so that User can scroll to the last PopupMenuitem in case Height of PopupMenu generated is greater than Browser Height.

 

Thanks & Regards,

Hemant

Coordinator
Jun 26, 2012 at 12:33 PM

Hi Hemant,

To get scrolling ability you can just add your items to a Listbox and enable its built in vertical scrollbar.

Cheers

Ziad