Handling event in SfNumericUpDown
In our latest 2017 Volume 4, we have removed Delegate API and SFNumericUpDownDelegate class from SfNumericUpDown control. Here we have explained how to hook the events using event handler instead of delegates.
The below codes explain how to hook the ValueChanged event using delegate class in our old implementation.
Step 1: Include the ValueChanged Event handler as follows.
Step 2: Include the business logics inside the event handler which you have written in delegate class.
Step 3: Remove the Delegate API and the Delegate class from the sample.
Handling FocusChanged event in SfNumericUpDown:
Similarly FocusChanged event has been hooked by EventHandlers. The below codes explain how to hook the FocusChanged event using EventHandlers.
This page will automatically be redirected to the sign-in page in 10 seconds.