C bindingsource validating
I would like to sort this list according to a property of my objects.
I guess I should use the Apply Sort method, but I don't understand how it works.
Data Grid View class provides a convenient way to perform validation before data is committed to the data store. Data Grid View will prevent the user's cursor from leaving the cell until a non-empty string is entered. You can customize the appearance and behavior of the xref: System. Extender providers are an under-used feature of C#, probably because of the strange way you implement them. For example, an extender provider can store information for controls or catch control events and take action when they occur.There is two orverloads for this method, and I've problems with both of them : I wrote an article of Winform Advanced Data Binding ( where I speak about property descriptor. If you don't speak french, you can download C# project. I've some difficulties to understand your article because of my lack of knowledge in this domain.However it seems you don't speak about how to sort a Data Binding, do you Or perhaps there is a solution to my problem (on your custom object To support sorting, the underlying list must implement the IBinding List or IBinding List View interfaces.
Also, I'm sure with some clever coding on your part, you could funnel all your controls to a single Validating event handler so you would probably be able to avoid creating a separate event handler for each and every control you have.