Game Development Reference
In-Depth Information
chapter 20
Using the Property
Grid Control with
Late Binding
The only way to discover the limits of the possible is to go beyond them into
the impossible.
Arthur C. Clarke
With the advent of the Microsoft .NET platform, development time has been
decreased significantly because of many improvements to workflow and the tech-
nologies we use. Perhaps one of the most exciting introductions is the idea behind
extensible metadata and reflection, which can be used to interrogate class proper-
ties, methods, and attributes.
Many tools and utilities have a need to work with class objects and also provide a
way to modify the properties of a class. Traditionally, a dialog would have been
built that contained controls which, when modified, would find the currently
selected class and alter the appropriate property; building this dialog is often a very
time-consuming and tedious task. If you work with Visual Studio .NET, you will
have interacted with the PropertyGrid control, which displays information about a
selected user interface element. Figure 20.1 shows the PropertyGrid control in action
within Visual Studio .NET.
199
Search Nedrilad ::




Custom Search