TszButtonData.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. namespace SAGA.RevitMenu.Configuration
  2. {
  3. public class TszButtonData
  4. {
  5. public TszButtonData(string menuTab)
  6. {
  7. this.MenuTab = menuTab;
  8. }
  9. public TszButtonData(TszPanelData penelData, string menuTab, string strButtonName, string strButtonText, string strImageName, string strAssemblyName, string strClassName)
  10. {
  11. this.TszPanelData = penelData;
  12. this.MenuTab = menuTab;
  13. this.ButtonName = strButtonName;
  14. this.ButtonText = strButtonText;
  15. this.ImageName = strImageName;
  16. this.AssemblyName = strAssemblyName;
  17. this.ClassName = strClassName;
  18. this.IsGroup = false;
  19. this.Visible = true;
  20. }
  21. public string AssemblyName { get; set; }
  22. public string ButtonName { get; set; }
  23. public string ButtonText { get; set; }
  24. public string ClassName { get; set; }
  25. public string ImageName { get; set; }
  26. public bool IsGroup { get; set; }
  27. public string LongDescription { get; set; }
  28. public string MenuTab { get; set; }
  29. public StackStyles StackStyle { get; set; }
  30. public ButtonStyles Styles { get; set; }
  31. public string ToolTip { get; set; }
  32. public TszPanelData TszPanelData { get; set; }
  33. public RevitVer UseVersion { get; set; }
  34. public bool Visible { get; set; }
  35. }
  36. }