Mahyar
Mahyar

Reputation: 681

How can I add a property to System.Windows.Form.Control in VB.NET?

Is there a way to add a property to System.Windows.Form.Control base class without defining the new inherited class (in VB.NET) ?

I want to add a Tooltip property to all of System.Windows.Form.Control controls, which will be browsable in properties window of that control.

Upvotes: 2

Views: 3493

Answers (1)

SLaks
SLaks

Reputation: 887489

You want to write an extender provider.

Upvotes: 3

Related Questions