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

I am using System.Componentmodel.Design.CollectionEditor.CollectionForm for managing the properties of the items in the collection. I want to set a property(e.g SortOrder) of the selected item in the collection on reordering any specific item in the list with the help of Up/Down button. I am unable to find any events for Up/Down buttons on CollectionForm. Is there any way i can do this.
Posted

1 solution

You can either

0) Derive a new class from CollectionForm, and subscribe to the button event of the up/down botton

1) have the form handle the up/down button and perform the desired action on the CollectionForm object.
 
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