Click here to Skip to main content
15,889,810 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a propertyGrid;
I make bunch on number properties in it;
How can I make that once I enter a property(value field) I can incr\descr the value of that number by pressing arrows?
Posted
Comments
BillWoodruff 25-Nov-11 12:59pm    
I think you are talking about adding custom design-time proprerties to a PropertyGrid where certain numeric fields are editable using something like the NumericUpDownControl.

This does not look promising since the PropertyGrid exposes no Key Press/Up/Down EventHandlers.

Obviously you can insert a custom editor into a Property Grid, as seen in Controls like TreeViews, etc. But what "freedom" you have in the design of custom editors, you'll have to research, including whether the custom editor can get keystrokes., also.

Is that correct ?

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