Skip to content

0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jul 17:49
7371de1

Features

  • Auto set image based on the theme of the Ribbon using light and dark image pattern.
  • RibbonThemeUtils to change the theme of the Ribbon. (Revit 2019+)
  • Set project configuration to support net47 and net48.

Updated

  • Change GetRibbonItem to GetRibbonItem_Alternative to fix null when panel is removed.
  • Update SetImage to work with ComboBoxMember
  • Add CreateComboBoxMember to create ComboBoxMember.
  • Add RibbonThemeImageUtils to change theme for ImageSource.
  • Update RibbonThemeImageUtils with public GetThemeImageSource.
  • Add RibbonThemePanelUtils to update the theme for itens in the RibbonPanel.
  • Update RibbonPanel create and remove to update the theme of the itens.
  • Update TryThemeImage to not change assembly name if is a resource component.
  • Remove ConsoleAttribute and SetOrderPanels obsolete methods.
  • Update GetAutodeskOwner to obsolete only in net46.

Tests

  • Add RibbonThemeUtilsTests to test the theme change event.
  • Add TryThemeImage tests to replace image with theme.
  • Add ComboBoxMember tests for Image, Group and Current.

Example

  • Add AppTheme to test theme change features for RibbonItem.