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

Property grid column resizer

1 Answer 164 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Apar
Top achievements
Rank 1
Apar asked on 19 Aug 2015, 09:16 AM

Hi,

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.

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Aug 2015, 12:58 PM
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.

Regards,
Stefan X1
Telerik
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
Tags
PropertyGrid
Asked by
Apar
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or