Table of Contents

Method SetStringSelection

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetStringSelection(string, bool)

Selects or deselects the first item whose content matches the specified string.

bool SetStringSelection(string s, bool select)

Parameters

s string

The string to match.

select bool

true to select the matching item; false to deselect.

Returns

bool

true if an item was found and its selection state changed; otherwise, false.