Silverlight Menu and Context Menu v2.3 Beta

Rating:        Based on 2 ratings
Reviewed:  1 review
Downloads: 2291
Change Set: 53505
Released: Dec 5, 2010
Updated: Dec 5, 2010 by ZiadJ
Dev status: Beta Help Icon


Example SL4PopupMenuDemo v2.3
example, 79K, uploaded Dec 5, 2010 - 978 downloads
Source Code
source code, 30K, uploaded Dec 5, 2010 - 820 downloads
application, 29K, uploaded Dec 5, 2010 - 493 downloads

Release Notes

- Added keyboard navigation support with access keys
- Shortcuts like Ctrl-Alt-A are now supported(where the browser permits it)
- The PopupMenuSeparator is now completely based on the PopupMenuItem class
- Moved item manipulation code to a partial class in PopupMenuItemsControl.cs
- Moved menu management and keyboard navigation code to the new PopupMenuManager class
- Simplified the layout by removing the RootGrid element(all content is now placed in OverlayCanvas and is accessed by the new ContentRoot property)

- Added properties AccessKey, AccessKeyModifier, AccessKeyElementName & AccesskeyPressed
- Added the MenuTriggerElement class
- Added the SubmenuLaunchKey property
- Added the _allowPinnedState property to help disable the IsPinned property for hover menus
- Added the GenerateStackPanelWithUnderlinedText, IsKeyPressed & GetShortcutKeyDisplayText function to the PopupMenuUtils class
- Renamed _nextTriggerElement to _neighbouringLeftClickElementUnderMouse
- Added the _clickAlreadyHandledInMouseDownEvent property
- Removed the ActuallyHoveredElement property made redundant by the new ActualTriggerType property
- Removed the UseFirstItemAsHeader property in the PopupMenuItem class(the first item is now automatically used when the header is null)
- Replaced the _appHoverElements and _appLeftClickElements properties by the ApplicationMenus property

- Moved the GetContainer function from the PopupMenu class to the PopupMenuUtils class
- Changed type for _timerClose from DispatcherTimer to Timer

- Fixed a bug, as suggested by PhillipMiddlemiss, where the datacontext returned null in Prism under certain circumstances

Reviews for this release

This is the best menu control I have come across for SL4. Ziadj dotnet rocks!
by PjK on Feb 19, 2011 at 9:15 AM