Summary
Controls, as opposed to just working with a class in code, exist for the purpose of enhancing the
development environment experience and speeding up development time. The .NET Framework
provides design-time customizations for both Windows controls and web controls. The
customizations available in each environment differ mostly as a result of rendering technology,
with web controls generating HTML and Windows controls rendering using GDI+. Design-time
customizations for controls are applied to a server control class through attributes primarily
from the System.ComponentModel and System.Web.UI.Design namespaces.
The .NET Framework design-time environment services extend the capabilities and level
of integration with a designer such as Visual Studio. To obtain a service, the Component class
implements IServiceProvider, which has a method named GetService that can be used to
obtain a reference.
Custom designers manage the UI and behavior of a component at design time. Customizations
include changing the component??™s appearance, initialization, and interaction on the
Component Designer surface.
CHAPTER 11 ?– DES IGN-TIME S UPPORT 575
Type converters are generally implemented for control properties that are not readily
converted to the string type.
Pages:
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753