Thanks for contacting us and for your interest in RadControls
Indeed, the issue that you experience is related to the theming mechanism. Our theming mechanism maps the XML styles to the elements by using their type. So, by inheriting from RadMenuItem
, you introduce a new item type which is not recognizable by our mechanism. Thus, you will have to override the ThemeEffectiveType
property in your new RadMenuItem
type and return the type of RadMenuItem.
Take a look at the code snippet below:
Without this property override, your item will remain unstyled by having the default border and fill colors.
Consider this as a general approach of avoiding theming issues when inheriting from different items in our framework.
I hope this helps and will be happy to address any future inquiries regarding our control suite that you might have.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items