remove onfocus styling

4 posts, 0 answers
  1. Prash
    Prash avatar
    27 posts
    Member since:
    Jan 2009

    Posted 09 Mar 2009 Link to this post

    Hello,

    i am working with the radtreeview, i want that the default styling on the mouseover should be removed.
    Please suggest with code snippet.
    Thanks and regards
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 12 Mar 2009 Link to this post

    Hi Prash,

    Just remove the "MouseOver" from the Template of the RadTreeViewItem.


    Kind regards,
    Valentin.Stoychev
    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. Prash
    Prash avatar
    27 posts
    Member since:
    Jan 2009

    Posted 13 Mar 2009 Link to this post

    Hello,
     i am not applying any style in the code its the default behavior of the treeview, so I am not sure as to how to do it ?

  4. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 13 Mar 2009 Link to this post

    Hello Prash,

    To edit the default control template follow these steps:

    1. Open your project in Blend
    2. Drag a TreeViewItem on the design surface
    3. Right-click the control and choose: Edit control parts(template) -> Edit a copy

    I hope this helps.

    Kind regards,
    Tihomir Petkov
    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.
Back to Top