The zoom button enables end-users to maximize the detail View, so that it occupies an entire grid control's region. For Grid Views and their descendants, a Zoom button represents an intersection of a detail View's column header panel and row indicator panel. For Card Views, the Zoom button is displayed at the View's top right edge.
Clicking the zoom button maximizes the detail View while hiding all the other Views including the master. The button's image now displays an 'X' sign to indicate the View is maximized.
The following table lists the main properties that affect element appearance.
For Grid Views and their descendants, use the GridViewAppearances.HeaderPanel property. Note that these settings are not in effect when a View is painted using the WindowsXP or Office2003 scheme (see the BaseView.PaintStyleName property).
For Card Views, the Zoom button's appearance depends upon the current paint scheme (see the BaseView.PaintStyleName property).
Custom Draw Event
For Grid Views and descendants, use the GridView.CustomDrawRowIndicator event.
While the master View's GridOptionsDetail.AllowZoomDetail property is set to true.