Live Chat Icon For mobile
Live Chat Icon

What is the best method to override in custom Controls to perform custom initialization during runtime?

Platform: WinForms| Category: Controls

When custom initialization is to be done during runtime on certain Controls, the best way is to implement the ISupportInitialize interface in that Control. Then the BeginInit method will be called as soon as the Control gets created and EndInit will be called after the design-time initialization of that control.

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.