Click or drag to resize

NamespaceTreeControl.GetItemState Method (Item, NSTCITEMSTATE)

Gets state information about a Shell item.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public NSTCITEMSTATE? GetItemState(
	Item item,
	NSTCITEMSTATE mask = NSTCITEMSTATE.NSTCIS_SELECTED|NSTCITEMSTATE.NSTCIS_EXPANDED|NSTCITEMSTATE.NSTCIS_BOLD|NSTCITEMSTATE.NSTCIS_DISABLED|NSTCITEMSTATE.NSTCIS_SELECTEDNOEXPAND
)

Parameters

item
Type: callback.ShellBoost.Core.WindowsShell.Item
The item.
mask (Optional)
Type: callback.ShellBoost.Core.WindowsShell.NSTCITEMSTATE
Specifies which information is being requested, in the form of a bitmap. One or more of the NSTCITEMSTATE constants.

Return Value

Type: Nullable<NSTCITEMSTATE>
Contains the values requested in mask or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also