Starting with version 18.2, ribbon controls attempt to re-use existing link control (LightweightBarItemLinkControl, BarButtonItemLinkControl, BarCheckItemLinkControl, etc.) objects during merging to improve the performance. This is possible in either of the following scenarios:
- For edit items - when the same EditSettings object type is used.
- For other items - when the item type is the same.
As a result, a single link control may be used to display different items.
Due to this modification, properties set for the link control objects directly may stay unchanged after controls are re-used. In such scenarios, you can return to the previous behavior by setting the CompatibilitySettings.AllowRecyclingRibbonItems property to false.