ThemeClassName for RadMenuItem!

2 posts, 1 answers
  1. Saeed
    Saeed avatar
    4 posts
    Member since:
    May 2014

    Posted 18 May 2014 Link to this post

    Hi

    I've extended from RadMenuItem. But while rendering the style is missed. I had the same problem for my customized RadTreeView, Which was solved this way:

      public class KSTree : RadTreeView
        {
            public KSTree()
            {
                this.FullRowSelect = false;
                this.ShowLines = true;
                this.LineStyle = TreeLineStyle.Solid;
            }

            public override string ThemeClassName
            {
                get
                {
                    return typeof(RadTreeView).FullName;
                }
            }
      }

    But there is no similar property to override for RadMenuItem. Is there any solution?

    Thanks.


  2. Answer
    Saeed
    Saeed avatar
    4 posts
    Member since:
    May 2014

    Posted 18 May 2014 in reply to Saeed Link to this post

    Found it. :)

    ThemeEffectiveType

    Thanks.

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top