Partager via


WindowSearchSimpleFilter Class

Definition

Represents a search filter with a default value and a filter field for use by the search control for window search.

public ref class WindowSearchSimpleFilter sealed : Microsoft::VisualStudio::PlatformUI::WindowSearchFilter, Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchSimpleFilter
public ref class WindowSearchSimpleFilter sealed : Microsoft::VisualStudio::PlatformUI::WindowSearchFilter, Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchSimpleFilter
class WindowSearchSimpleFilter sealed : Microsoft::VisualStudio::PlatformUI::WindowSearchFilter, Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchSimpleFilter
public sealed class WindowSearchSimpleFilter : Microsoft.VisualStudio.PlatformUI.WindowSearchFilter, Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchSimpleFilter
type WindowSearchSimpleFilter = class
    inherit WindowSearchFilter
    interface IVsWindowSearchSimpleFilter
    interface IVsWindowSearchFilter
Public NotInheritable Class WindowSearchSimpleFilter
Inherits WindowSearchFilter
Implements IVsWindowSearchSimpleFilter
Inheritance
WindowSearchSimpleFilter
Implements

Remarks

Search control filters are represented as push buttons in the search control’s popup. When a WindowSearchSimpleFilter button is pressed, the “FilterField:DefaultFilterValue” string is automatically added to the search control search text.

Constructors

WindowSearchSimpleFilter(String, String, String, String)

Creates a new instance of a search filter with a default value and a filter field for use by the search control for window search.

Properties

DefaultFilterValue

Gets or sets the default filter value for the search filter.

DisplayText

Gets or sets the display text for the search filter

(Inherited from WindowSearchFilter)
FilterField

Gets or sets the filter field value for the search filter.

Tooltip

Gets or sets the tooltip text for the search filter

(Inherited from WindowSearchFilter)

Applies to