CompactMode Property
The CompactMode property of the SearchBox class gets or sets a flag that determines the display mode for this Web Part.
Property Value
true indicates that the Web Part is displayed in compact mode; otherwise, false. The default value for this property is false.
Remarks
The CompactMode property is read/write. Compact mode displays the search box with only a text input field and a Go button. It aligns the search box to the left of the search page. When not in compact mode, the search box appears in the upper corner of the search page and contains other search options.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security