Jaa


LocalContentSuggestionSettings.Enabled Property

Definition

Indicates whether suggestions based on local files are displayed in the search pane.

public:
 property bool Enabled { bool get(); void set(bool value); };
bool Enabled();

void Enabled(bool value);
public bool Enabled { get; set; }
var boolean = localContentSuggestionSettings.enabled;
localContentSuggestionSettings.enabled = boolean;
Public Property Enabled As Boolean

Property Value

Boolean

bool

true if suggestions from local files are displayed; otherwise, false. The default is false.

Remarks

Important

To implement search in an app for Windows 10 or later, use AutoSuggestBox. See Auto-suggest box for more info.

You should not use Windows.ApplicationModel.Search APIs (SearchPane, SearchContract) or SearchBox APIs in apps for Windows 10 or later.

Applies to

See also