vcl-171070-expressquantumgrid-fundamentals-pattern-and-clone-views.md
This topic explains the mechanisms that the VCL Grid Control uses to display master-detail layouts and manage detail Views.
The most common Level-View structure that displays master-detail data includes one top Level and its child Level (for example, LevelCategories and LevelProducts in the image below), each with its own grid View assigned.
The detail View ( ViewProducts ) allows you to bind the details to data and customize their behavior and appearance. You can click the corresponding label in the Structure Navigator to access the View’s settings.
The following list describes the View technology’s key points:
Detail management at runtime depends on whether you access the pattern View or a clone. The following rules allow you to select the object to access:
Use the pattern View’s name to access the View and its settings in code. To access its clones and related master-detail data, use the following members:
Sender parameter in the pattern View’s event handler allows you to access the clone View that raised the event. For instance, when a user clicks a column header in a clone View, the column raises the OnColumnHeaderClick event and passes this clone View as the Sender event parameter.See Also