SearchBox Properties

Include Protected Members
Include Inherited Members

The SearchBox type exposes the following members.

Properties

  Name Description
Protected property CacheKey This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. (Overrides CacheableWebPartCacheKey().)
Public property CompactMode This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets a flag that determines the display mode for this Web Part.
Public property ContextSensitiveScopeType This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets additional restrictions on the scope for the query run by this Web Part.
Public property DefaultScopes Reserved for internal use only.
Public property EnableCache This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets a flag that indicates whether this Web Part is cached.
Public property PromptText This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the default text displayed in the search box.
Public property PromptTextLocId This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the unique identifier for the localized version of the prompt text.
Public property SearchBoxTableClass This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the background color for this Web Part.
Public property SearchResultPageURL This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the URL for the page where results are displayed.
Public property SearchScopes Reserved for internal use only.
Protected property SupportContextSensitiveScope This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets a flag that indicates whether context-sensitive scopes are enabled for this Web Part.
Public property SupportThemes This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead.

Top

See Also

Reference

SearchBox Class

Microsoft.SharePoint.Portal.WebControls Namespace