Prev | Current Page 680 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"

This is just one example of what is available in design-time environment
services. Table 11-1 provides an overview of available design-time environment services.
Table 11-1. Design-Time Environment Interfaces
Interface Description
IComponentChangeService Permits a designer to receive notifications when components
are changed, added, or removed from the design-time
environment.
IDesignerEventService Permits a designer to receive notifications when designers
are added or removed, and notifications when the selected
component changes.
IDesignerFilter Permits a designer to add to the set of properties displayed in
the property browser and filter the properties.
CHAPTER 11 ?–  DES IGN-TIME S UPPORT 525
IDesignerHost Used to add and retrieve services available in the design-time
environment and handle events related to designer state. It
provides support for detecting that a designer is loading and
helps manage component and designer transactions.
IDesignerOptionService Permits a designer to get and set property values displayed in
the Windows Forms Designer property grid displayed when
Tools ??¤ Options is selected.
IDictionaryService Provides a key-based collection for user-defined data
for designers.
IEventBindingService Permits a designer to expose events at design time for the
selected component in a property browser.


Pages:
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692