Table of Contents

Method SetSelected

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

SetSelected(int, bool)

Updates the selection state of the specified item.

public virtual void SetSelected(int n, bool select)

Parameters

n int

The zero-based index of the item to update.

select bool

A value indicating whether to select or deselect the item. true to select the item; false to deselect it.

Remarks

When select is true, the item is selected using the platform-specific selection mechanism. When select is false, the item is deselected.