Skip to content

0.7.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jul 15:01

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.

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.