MonobjcMonobjc Documented Class Library
LevelForItem Method (item)
NamespacesMonobjc.AppKitNSOutlineViewLevelForItem(Id)

Returns the indentation level for a given item.

Original signature is '- (NSInteger)levelForItem:(id)item'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger LevelForItem(
	Id item
)
Public Overridable Function LevelForItem ( _
	item As Id _
) As NSInteger
public:
virtual NSInteger LevelForItem(
	Id^ item
)
Parameters
item (Id)
An item in the receiver.
Return Value
The indentation level for item. If item is nil (which is the root item), returns –1.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)