Skip to content

UseShellIcon Property

Description

Specifies whether to show a lock icon in cells that had Editable = False when the grid is editable (AllowEdit = True). This property will use the lock icon from SHELL32.DLL.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property UseShellIcon() As Boolean

Remarks

If you set wndGridControl.[AllowEdit](XtremeGridControl~GridControl~AllowEdit.md) = True but disable some items from edit Record.Item(1).[Editable](XtremeGridControl~GridRecordItem~Editable.md) = False, the Grid will show a small lock icon inside cells.

If you would prefer to use the lock icon stored in Codejock resources, use ShowLockIcon. This version looks better on most modern OS.

See Also


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