Share via


ItemsView.IsSelected(Int32) Method

Definition

Retrieves a value that indicates whether or not the item at the specified index is selected.

public:
 virtual bool IsSelected(int itemIndex) = IsSelected;
bool IsSelected(int const& itemIndex);
public bool IsSelected(int itemIndex);
function isSelected(itemIndex)
Public Function IsSelected (itemIndex As Integer) As Boolean

Parameters

itemIndex
Int32

int

The index of the item to check for selection.

Returns

Boolean

bool

true if the item at the specified index is selected; otherwise, false.

Applies to