Click or drag to resize

FolderViewGetItemPosition Method

Gets the position of an item in the folder's view.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public POINT? GetItemPosition(
	Item item,
	bool throwOnError = true
)

Parameters

item
Type: ShellBoost.Core.WindowsShellItem
The item.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: NullablePOINT
The position of the item's upper-left corner or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also