SearchSettingsDataSource Properties
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() | ControlBorderThickness | Gets or sets the thickness of the search control's border. Type: VSUI_TYPE_STRING. Default="1". |
![]() | ControlMaxWidth | Gets or sets the property indicating the maximum width of the common search control. Default is 400. |
![]() | ControlMinPopupWidth | Gets or sets the value indicating the minimum width used by the common search control for displaying popups. Default is 200. |
![]() | ControlMinWidth | Gets or sets the value indicating the minimum width of the common search control. Default is 100. |
![]() | DefaultTheme | Gets the default theme. |
![]() | ForwardEnterKeyOnSearchStart | Gets or sets the flag indicating whether the common search control forwards the enter-key event after a search is started. Default is false, indicating that the enter-key event is not forwarded by the control. |
![]() | HwndSourceBackgroundColor | Gets an ARGB background color for the HwndSource. This setting is ignored if it is 0, or if the search control is parented under a WPF element. Type: VSUI_TYPE_DWORD, Default=0. |
![]() | MaximumMRUItems | Gets or sets the value indicating the maximum number of most-recently-used (MRU) items to show in the drop-down list of the common search control. Default is 5 items. . |
![]() | PrefixFilterMRUItems | The name of the property indicating the maximum number of MRU items to show in the popup. VSUI_TYPE_DWORD. Default=5. |
![]() | RestartSearchIfUnchanged | Determines whether searches will be restarted, even if the search string is not changed, by pressing Enter or selecting a most-recently-used (MRU) item from the list. Default is false; the search will not be restarted. |
![]() | SearchButtonVisible | Determines whether the search button is visible in the common search control. Default is true; the button is visible. |
![]() | SearchClearTooltip | Gets or sets the search button tooltip to display after a search is complete. Default is “Clear search”. |
![]() | SearchPopupAutoDropdown | Determines whether the search popup is automatically shown when the user begins typing. This is only relevant for delayed and on-demand searches in the common search control. Default is true; the search popup is automatically shown. |
![]() | SearchPopupCloseDelay | Gets or sets the delay, in milliseconds, after a search is automatically started in the search control, until the search popup is automatically closed. Default is 4,000 milliseconds. |
![]() | SearchProgressShowDelay | Gets or sets the delay, in milliseconds, after a search is started in the search control, until the progress indicator automatically displays. This delay enables fast searches to complete without showing progress. Default is 200 milliseconds. |
![]() | SearchProgressType | Gets or sets the progress type supported by the common search control. Default is 0 SPT_INDETERMINATE, indicating the search will be an infinite-loop animation, because exact search progress cannot be determined. Value can be 0 (SPT_NONE, no display), 1 (SPT_INDETERMINATE, infinite-loop animation) or 2 (SPT_DETERMINATE, 0-100% progress bar). |
![]() | SearchStartDelay | Gets or sets the delay, in milliseconds, until a delayed search starts automatically in the common search control. Default is 1,000 milliseconds. |
![]() | SearchStartMinChars | Gets or sets the minimum number of characters for relevance in a search. The common search control will wait to start a new search until the user types at least the minimum number of characters. Default is 1 character. |
![]() | SearchStartTooltip | Gets or sets the search button tooltip to display before the common search control starts a search. Default is “Search”. |
![]() | SearchStartType | Gets or sets the search start type of the common search control. Default is delayed; start type can be instant(SST_INSTANT), delayed(SST_DELAYED) or on-demand(SST_ONDEMAND). |
![]() | SearchStopTooltip | Gets or sets the search button tooltip to display during a search by the common search control. Default is “Stop search”. |
![]() | SearchTooltip | Gets or sets the value indicating the tooltip for the search box of the Visual Studio common search control. Default is “Type words to search for”. |
![]() | SearchTrimsWhitespaces | Determines whether the common search control trims whitespace from the beginning and end of the search string before starting a search or adding the item to the most-recently-used (MRU) list. Default is true; whitespace is trimmed from the string before it is used. |
![]() | SearchUseMRU | Determines whether the Visual Studio common search control displays most-recently-used (MRU) items in the drop-down list. Default is true; the drop-down list is displayed. |
![]() | SearchWatermark | Gets or sets the string to display in the common search control when it is empty and does not have the focus. Default is “Search”. |
![]() | UseDefaultThemeColors | Determines whether the search control should only use the colors of the default theme. This is usually set to true when the search control is hosted in a dialog whose colors don't change when the IDE theme changes. Type: VSUI_TYPE_BOOL. Default=False. |
