Explain what is Extender provider component? How to use this in the project?

 Posted by Tripati_tutu on 12/22/2010 | Category: C# Interview questions | Views: 2476 | Points: 40

This is a component which provides properties and features to other components or controls. This mechanism is usually used in windows forms applications. The examples of extender provider components are ToolTip, HelpProvider, and ErrorProvider etc.

Use an extender provider in your project:
• With the help of ProvidePropertyAttribute, you can specify the name of the property that an implementer of IExtenderProvider provides to other controls, attribute to specify the property.
• Then use the provided property and try to find which control receives your provided property.
• After that use IExtenderProvider, this defines the interface for extending properties to other components.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response