Click here to Skip to main content
15,909,605 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have one propertyGridControl in which left side is non editable like wise labels of text fields ahead of them and right side is having control like wise text box , drop down etc.
when i click on non editable part click event of grid is getting fired but same event is not able to fire for right side editable control (TextBox,DropDown ) etc.

But my requirement is I want same event should be fire for both ?

How can i achieve this ?

your response will highly appreciate..

Thanks
Bhushan

What I have tried:

I have tried click event in which i have function which hide the message on screen .
Posted
Updated 11-Jun-17 20:34pm

1 solution

You should read the documentation of PropertyGrid[^] class...
'click' event is not an even of the line (property) but the control itself. The reason id does not fire for the value-side, is that there is an other control there, that gets the focus and handles the event, while at the text-side it is the control itself...
If you want to follow changes of properties via PropertyGrid you should follow the PropertyValueChanged[^] event...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900