You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
531 B

  1. using System.Windows;
  2. using System.Windows.Controls;
  3. namespace BPA.UIControl
  4. {
  5. /// <summary>
  6. /// The MenuItemCollection provides typed collection of HamburgerMenuItemBase.
  7. /// form https://github.com/MahApps/MahApps.Metro
  8. /// MahApps.Metro.Controls.HamburgerMenu
  9. /// </summary>
  10. public class MenuItemCollection : FreezableCollection<Control>
  11. {
  12. /// <inheritdoc/>
  13. protected override Freezable CreateInstanceCore()
  14. {
  15. return new MenuItemCollection();
  16. }
  17. }
  18. }