In Brief

This chapter showed how to create user controls and components in C#Builder:

  • A user control is a reusable unit of functionality that may be dragged and dropped onto a form and displays a visual appearance at design time. Its primary purpose is to combine other controls into a single unit so that they may be reused on many forms. User controls can be added to the Tool Palette, like other controls, and dragged to the designer surface, and they expose editable properties in the Object Inspector.

  • A component in .NET terms extends the notion of a typical component to one that can be hosted in a visual designer. Components may be used where reusability is needed, but there is no requirement for visual runtime behavior. Similar to the user control, a component may be dragged and dropped onto the designer surface, but is positioned on the Component Tray and offers design-time-only visual configuration.



C# Builder KickStart
C# Builder KickStart
ISBN: 672325896
EAN: N/A
Year: 2003
Pages: 165

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net