次の方法で共有


SearchOptionDataSource Class

Definition

Represents a data source for a search option for the search control.

public ref class SearchOptionDataSource : Microsoft::Internal::VisualStudio::PlatformUI::GelDependencyObject
[Windows::Foundation::Metadata::WebHostHidden]
class SearchOptionDataSource : Microsoft::Internal::VisualStudio::PlatformUI::GelDependencyObject
public class SearchOptionDataSource : Microsoft.Internal.VisualStudio.PlatformUI.GelDependencyObject
type SearchOptionDataSource = class
    inherit GelDependencyObject
Public Class SearchOptionDataSource
Inherits GelDependencyObject
Inheritance
Microsoft.Internal.VisualStudio.PlatformUI.GelDependencyObject
SearchOptionDataSource

Constructors

SearchOptionDataSource()

Creates a new instance of a search option data source.

Fields

DisplayTextProperty
SelectVerb
TooltipProperty
TypeProperty
ValueProperty

Properties

DisplayText

Gets or sets the value of the display text for the search option.

Tooltip

Gets or sets the value of the tooltip text for the search option.

Type

Gets or sets the type (Boolean or command) for the search option.

Value

Gets or sets the value for the search option. This property is only valid for Boolean search options.

Methods

OnSelect()

Provides class handling for selecting the search option on the data source or any element derived from it.

Applies to