Property grid column resizer

2 posts, 0 answers
  1. Apar
    Apar avatar
    4 posts
    Member since:
    Jul 2015

    Posted 19 Aug 2015 Link to this post


    I am trying to extend the PropertyGridColumnResizer and restrict the dragging of column resizer to a minimum value.

    Now i dont see anyway to unregister the dragevent registered for thumb control.

    Can you please let me know is there a way to do it.



  2. Stefan
    Stefan avatar
    791 posts

    Posted 20 Aug 2015 Link to this post

    Hello Apar,

    For such customization I recommend you modifying the template of PropertyGridFieldTemplate instead. Within it there is a Grid with x:Name="PART_PropertyGridFieldGridN" with three column definitions. The first one is for the PropertyGridPresenter, the second for the Label and the third one for the editor. Basically, you can achieve your goal by setting MinWidth/MaxWidth properties for the needed element.

    I have attached a sample application as a demonstration.

    Stefan X1
    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 Feedback Portal and vote to affect the priority of the items
Back to Top