Expander is too small of a target

3 posts, 0 answers
  1. Eric
    Eric avatar
    2 posts
    Member since:
    Jul 2010

    Posted 04 Aug 2010 Link to this post

    I'm a huge fan of the RadTreeView, which we have recently incorporated into our product.  I have only found one thing that I like better about the built-in WPF TreeView, and that is the size of the hotspot associated with the expand/collapse arrow.  With the built-in WPF TreeView, you can click not only just on the arrow graphic itself, but pretty much anywhere in the whitespace around that arrow, and the associated node will collapse or expand.  With RadTreeView, I have to click precisely on the arrow graphic itself.  This is way too small of a target.  I very frequently click there trying to expand or collapse a node and miss.

    When you click on the arrow to expand or collapse a node, the expander/collapser gets focus, as evidenced by the broken line drawn around it.  How about making the entire area of the focus rectangle be the hotspot for collapse/expand?

    Thanks,

    Eric
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 09 Aug 2010 Link to this post

    Hi Eric,

    Thank you for the nice words.

    The arrow is actually a ToggleButton with a custom style. You can change this style by assigning the ExpanderStyle property.

    I have modified it so that you will be able to click the area round the arrow to toggle it - you can have a look at the attached project.

    Kind regards,
    Miroslav
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Eric Hill
    Eric Hill avatar
    7 posts
    Member since:
    Jan 2010

    Posted 11 Aug 2010 Link to this post

    Miroslav,

    Your sample works exactly as I would want.  I'll incorporate it your ExpanderStyle into our code.  Thanks very much.

    Eric
Back to Top