MonobjcMonobjc Documented Class Library
ScrollItemAtIndexToTop Method (index)
NamespacesMonobjc.AppKitNSComboBoxScrollItemAtIndexToTop(NSInteger)

Scrolls the receiver’s pop-up list vertically so that the item at the specified index is as close to the top as possible.

Original signature is '- (void)scrollItemAtIndexToTop:(NSInteger)index'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ScrollItemAtIndexToTop(
	NSInteger index
)
Public Overridable Sub ScrollItemAtIndexToTop ( _
	index As NSInteger _
)
public:
virtual void ScrollItemAtIndexToTop(
	NSInteger index
)
Parameters
index (NSInteger)
The index of the item to scroll to the top.
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)