Bagikan melalui


SearchSettingsDataSource.PropertyNames Class

Definition

Property names for the search settings

public: ref class SearchSettingsDataSource::PropertyNames abstract sealed
class SearchSettingsDataSource::PropertyNames abstract sealed
public static class SearchSettingsDataSource.PropertyNames
type SearchSettingsDataSource.PropertyNames = class
Public Class SearchSettingsDataSource.PropertyNames
Inheritance
SearchSettingsDataSource.PropertyNames

Fields

ControlBorderThickness

The name of the property indicating the Thickness of the search control's border. VSUI_TYPE_STRING. Default="1".

ControlMaxWidth

The name of the property indicating the maximum width of the search control. VSUI_TYPE_DWORD. Default=400.

ControlMinPopupWidth

The name of the property indicating the minimum width of the search control's popup. VSUI_TYPE_DWORD. Default=200.

ControlMinWidth

The name of the property indicating the minimum width of the search control. VSUI_TYPE_DWORD. Default=100.

ControlPaddingThickness

The name of the property indicating the Thickness of the padding around the search box. VSUI_TYPE_STRING. Default="0".

DefaultTheme

The guid of the theme to use as default/fixed theme when UseDefaultThemeColors is set. This is usually necessary when the search control is hosted in a dialog whose colors don't change when the IDE theme changes. VSUI_TYPE_STRING. Default="{DE3DBBCD-F642-433C-8353-8F1DF4370ABA}" (KnownColorThemes.Light, which is closest to Windows dialog colors).

ForwardEnterKeyOnSearchStart

The name of the property indicating whether the search control forwards the enter key event after search is started. VSUI_TYPE_BOOL. Default=False.

HwndSourceBackgroundColor

The name of the property representing 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. VSUI_TYPE_DWORD, Default=0.

LiveSetting

The name of the property representing the live setting for the search control's live region. Values for this setting come from Microsoft.Internal.VisualStudio.PlatformUI.Automation.AutomationLiveSetting. VSUI_TYPE_DWORD, Default=1.

MaximumMRUItems

The name of the property indicating the maximum number of MRU items to show in the popup. VSUI_TYPE_DWORD. Default=5.

PrefixFilterMRUItems

The name of the property indicating whether or not the search MRU list is filtered by prefix based on what's currently typed in the search box. VSUI_TYPE_BOOL. Default=True.

RestartSearchIfUnchanged

The name of the property indicating whether the search will be restarted on pressing Enter or selecting MRU item from the list, even if the search string is not changed. VSUI_TYPE_BOOL. Default=False.

SearchButtonVisible

The name of the property indicating whether the search button is visible in the search control. VSUI_TYPE_BOOL. Default=True.

SearchClearTooltip

The name of the property indicating the tooltip for the search button after a search is complete. VSUI_TYPE_STRING. Default="Clear search".

SearchPopupAutoDropdown

The name of the property indicating whether the search popup is automatically shown on typing (for delayed and on-demand searches only). VSUI_TYPE_BOOL. Default=True.

SearchPopupCloseDelay

The name of the property indicating the delay in milliseconds after a search is automatically started after which the search popup is automatically closed. VSUI_TYPE_DWORD. Default=4000ms.

SearchProgressShowDelay

The name of the property indicating the delay in milliseconds from the search start after which the progress indicator is displayed. This allows fast searches to complete without showing progress. VSUI_TYPE_DWORD. Default=200ms.

SearchProgressType

The name of the property indicating the progress type supported by the window search. VSUI_TYPE_DWORD(VSSEARCHPROGRESSTYPE). Default=SPT_INDETERMINATE.

SearchStartDelay

The name of the property indicating the delay in milliseconds after which a search starts automatically (for delayed search type). VSUI_TYPE_DWORD. Default=1000ms.

SearchStartMinChars

The name of the property indicating the minimum number of characters that have relevance for the window search. The window host will wait for the user to type at least the min number of characters before calling IVsWindowSearch to start a new search. VSUI_TYPE_DWORD. Default=1.

SearchStartTooltip

The name of the property indicating the tooltip for the search button before starting the search. VSUI_TYPE_STRING. Default="Search".

SearchStartType

The name of the property indicating the search start type (instant/delayed/ondemand). VSUI_TYPE_DWORD(VSSEARCHSTARTTYPE). Default=SST_DELAYED.

SearchStopTooltip

The name of the property indicating the tooltip for the search button while the search is performed. VSUI_TYPE_STRING. Default="Stop search".

SearchTooltip

The name of the property indicating the tooltip for the search edit box. VSUI_TYPE_STRING. Default="Type words to search for".

SearchTrimsWhitespaces

The name of the property indicating whether the search string has whitespaces trimmed from beginning and end before starting a search or adding the item to MRU list. VSUI_TYPE_BOOL. Default=True.

SearchUseMRU

The name of the property indicating whether the search control will display MRU items in the drop-down popup. VSUI_TYPE_BOOL. Default=True.

SearchWatermark

The name of the property indicating the string displayed in the search box when it's empty and doesn't have the focus. VSUI_TYPE_STRING. Default="Search".

SearchWatermarkWhenFocused

The name of the property indicating the the search watermark remains even when the control is focused. VSUI_TYPE_BOOL. Default=False.

UseDefaultThemeColors

The name of the property indicating 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. VSUI_TYPE_BOOL. Default=False.

Applies to