Поделиться через


Extender Providers

Caution

This content was written for .NET Framework. If you're using .NET 6 or a later version, use this content with caution. The designer system has changed for Windows Forms and it's important that you review the Designer changes since .NET Framework article.

You can extend the behavior of your components and controls by attaching separate properties that are provided by another component called an extender provider.

In This Section

Topic

Description

Extender Provider Overview

Offers general information about how to use and implement extender provider classes.

Extender Provider Objects

Provides code examples that show how to create and use an extender provider class.

How to: Implement an Extender Provider

Provides a detailed procedure with code to explain how to implement an extender provider class with code.

How to: Implement a HelpLabel Extender Provider

Demonstrates the full implementation of a HelpLabel extender provider class.

Reference

Topic

Description

IExtenderProvider

Defines the interface for extending properties to other components in a container.

ProvidePropertyAttribute

Specifies the name of the property that an implementer of IExtenderProvider offers to other components.

ErrorProvider

Documents an extender provider for indicating that a control on a form has an error associated with it.

HelpProvider

Documents an extender provider for pop-up or online Help for controls.

ComponentTray

Documents an extender provider for the component tray of a designer.

CodeDomLocalizationProvider

Documents an extender provider that enables design-time support for localization features to a root designer.

ToolTip

Documents an extender provider that enables ToolTips for components and controls.

Topic

Description

Type Descriptor Overview

Offers general information about how to use and implement type descriptor classes.

User Interface Type Editors

Offers general information about how to use and implement UI type editor classes.