RadDropDownButton

2 posts, 1 answers
  1. FilipN
    FilipN avatar
    15 posts
    Member since:
    Jul 2009

    Posted 22 Jul 2009 Link to this post

    Hello Telerik Team,
    I need to add functionality to dropdown buttons in our project (hook up Initialized event). However, when i tried to do so I have encountered problem with Layout of subclassed control. I have solved the problem by overriding following property
       public override string ThemeClassName
            {
                get
                {
                    return "Telerik.WinControls.UI.RadDropDownButton";
                }
                set
                {
                    base.ThemeClassName = "Telerik.WinControls.UI.RadDropDownButton";
                }
            }

    is this valid solution? I have no idea why subclassed control got "wrong" layout. Is there any reference in documentation that would help me understand why this problem occured?



  2. Answer
    Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 22 Jul 2009 Link to this post

    Hello Filip Nguyen,

    You are on the right track with your solution. 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.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top