property Thumbnail.AllowContextMenu as Boolean

Enables or disables the file's context menu.

TypeDescription
Boolean A boolean expression that indicates whether the control's context menu is enabled or disabled.

By default, the AllowContextMenu property is True. Use the AllowContextMenu to disable the control's context menu. The control's context menu is displayed when the user does a right click on the file or the folder. The system controls the items being inserted to the control's context menu. Use the ExecuteContextCommand method to execute a command from the file's context menu. The ShowContextMenu property indicates the items to be displayed on the object's context menu. The ShowContextMenu property has effect only during the StateChange event, when the State parameter is ShowContextMenu. The ShowContextMenu property can be used to disable, update, remove or add new items. The ExecuteContextMenu property specifies the identifier of the command to be executed ( id option in the ShowContextMenu property). The ExecuteContextMenu property has effect only during the StateChange event, when the State parameter is ExecuteContextMenu. The Background(exThumbnailSelBorderColor) property specifies the color to show the thumbnail's border/frame when focused. By default, the Background(exThumbnailSelBorderColor) property is 0x8000000D. You can set on 0 or -1, to prevent showing the thumbnail's selected frame