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.

32 lines
675 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. namespace ICSharpCode.ILSpy.ViewModels
  8. {
  9. internal enum LegacyToolPaneLocation
  10. {
  11. Top,
  12. Bottom
  13. }
  14. internal class LegacyToolPaneModel : ToolPaneModel
  15. {
  16. public LegacyToolPaneModel(string title, object content, LegacyToolPaneLocation location)
  17. {
  18. this.Title = title;
  19. this.Content = content;
  20. this.IsCloseable = true;
  21. this.Location = location;
  22. }
  23. public object Content { get; }
  24. public override DataTemplate Template => throw new NotSupportedException();
  25. public LegacyToolPaneLocation Location { get; }
  26. }
  27. }