This is a migrated thread and some comments may be shown as answers.

ThemeClassName for RadMenuItem!

1 Answer 59 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Saeed
Top achievements
Rank 1
Saeed asked on 18 May 2014, 12:08 PM
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.


1 Answer, 1 is accepted

Sort by
0
Accepted
Saeed
Top achievements
Rank 1
answered on 18 May 2014, 12:47 PM
Found it. :)

ThemeEffectiveType

Thanks.

Tags
Menu
Asked by
Saeed
Top achievements
Rank 1
Answers by
Saeed
Top achievements
Rank 1
Share this question
or