Skip to content

CheckedItem Property

Description

Specifies the index of an item in the gallery's collection of items that should be marked as "checked".

Property Type

Read-write property

Syntax (Visual Basic)

Public Property CheckedItem() As Integer

Remarks

The CheckedItem property holds the index of an item in the gallery's collection of items that is displayed as "checked." There can only be one checked item in a gallery. The checked item will remain displayed as checked until another is marked as checked. To have no items checked, set CheckedItem to -1.

The illustration below shows what an item looks like when checked and selected.

Checked Item Illustration

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.