

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are extender provider components in C#?
To provide properties to other components, the extender provider is used. Let’s consider an example of a TooTtip component.
You add the component to a form. This sets a ToolTip property to every control. The same property is not under the attacked PropertyGrid control.
myTooltip1.SetToolTip(btn1, "This is ToolTip!");
Let us see how to implement extender provider component −
Firstly, define a component −
public class MyExtender : IExtenderProvider {...}
IExtenderProvider definition −
public interface IExtenderProvider { bool newExtend(object extendeNew); }
Now you need to implement the newExtend method. This is done to return true for every related component or control.
- Related Questions & Answers
- What are the differences between WiFi Extender and WiFi Booster?
- What are the differences between WiFi Repeater and WiFi Extender?
- What are the components of DBMS?
- What are the important components of ODBC?
- What are the important components of JDBC?
- What are the various Components of Selenium?
- What are the components of the CPU?
- What are the components of Portal Server?
- What are the components of trusted Network?
- What are the Components of Performance Management?
- What are the components of data mining?
- What are the main file components in Cucumber?
- What are the components of a data warehouse?
- What are the components and shells of UNIX?
- What are the components of focused web crawlers?
Advertisements