CustomControls deriving from RadComboBox cannot be styled

4 posts, 0 answers
  1. Joël
    Joël avatar
    32 posts
    Member since:
    Sep 2011

    Posted 23 Nov 2011 Link to this post

    If I created a CustomControl derived from a RadComboBox, I have to explicitly load my xaml file in the App.xaml of the final application.

    Apparently, the native style of Telerik to replace my style. That is why I have to recharge it back.
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 23 Nov 2011 Link to this post

    Hi Laurent,

    we do set DefaultStyleKey on OnInitialized based on the application theme so you may experience problems extending our controls. That's why you have to recharge it back. We are aware of that issue.

    I am sorry for the inconvenience.

    Regards,
    Pana
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Joël
    Joël avatar
    32 posts
    Member since:
    Sep 2011

    Posted 23 Nov 2011 Link to this post

    Do you have a exemple of application ?
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 28 Nov 2011 Link to this post

    Hi Laurent,

    We do not have clean solution for that problem. If you have found a workaround by setting the style back your solution is as good as ours.

    Regards,
    Pana
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top