Skip to content

NavigateItems Property

Description

The NavigateItems property is used to specify how the items in the grid are navigated when pressing the Tab key.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property NavigateItems() As Boolean

Remarks

Set NavigateItems to TRUE to enable item navigation using the Tab key.

When NavigateItems is TRUE, focus will move in the following order when the Tab key is pressed:

  1. Item Caption
  2. Item Value
  3. Item InPlaceButton (if present)
  4. Next Item Caption

When NavigateItems is FALSE, focus will move in the following order when the Tab key is pressed:

  1. Item Caption
  2. Item Value
  3. Item InPlaceButton (if present)
  4. First verb (if present)
  5. Next control in the tab order outside of the property grid.

By default, NavigateItems is FALSE.

Example

Navigate Items with the Tab Key (Visual Basic) - This sample illustrates how to use the Tab key to navigate items in the property grid.

'Focus will now pass to the next item in the property grid when the tab key is pressed
'and the value of an item has focus (if an in-place button is not present).
wndPropertyGrid.NavigateItems = True

See Also


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