MonobjcMonobjc Documented Class Library
NSItemPriority Enumeration
NamespacesMonobjc.AppKitNSItemPriority

When a toolbar does not have enough space to fit all its items, it must push some items into the overflow menu. These values allow you to suggest a priority for a toolbar item.

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSItemPriority
Public Enumeration NSItemPriority
public enum class NSItemPriority
Members
MemberDescription
NSToolbarItemVisibilityPriorityStandard

The default visibility priority.

Available in Mac OS X v10.4 and later.


NSToolbarItemVisibilityPriorityLow

Items with this priority will be the first items to be pushed to the overflow menu.

Available in Mac OS X v10.4 and later.


NSToolbarItemVisibilityPriorityHigh

Items with this priority are less inclined to be pushed to the overflow menu.

Available in Mac OS X v10.4 and later.


NSToolbarItemVisibilityPriorityUser

Items with this priority are the last to be pushed to the overflow menu. Only the user should set items to this priority.

Available in Mac OS X v10.4 and later.


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)