Buggy inheritance

2 posts, 0 answers
  1. Alexandr
    Alexandr avatar
    1 posts
    Member since:
    Oct 2008

    Posted 27 Oct 2008 Link to this post

    When I use simple wrapper of RadTreeView in our company namespace the component looks different:

     

    namespace ComponentWrappers

    {

      public class RadTreeView: Telerik.WinControls.UI.RadTreeView

      {

      }

    }

     

    ComponentWrappers namespace is on the left, Telerik.WinControls.UI is on the right:

    http://picasaweb.google.ru/Alex.Kostikov/pMuNfD#5261842238804074226

     

    How to make component from ComponentWrappers.RadTreeView look like native Telerik control?

  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 29 Oct 2008 Link to this post

    Hello Alexandr,

    When inheriting from RadControls classes, you should override the ThemeClassName property. For additional information, please refer to the following Knowledge Base article: Inherit themes from RadControls.

    If you have additional questions, feel free to contact me.

    Regards,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top