MonobjcMonobjc Documented Class Library
IndexOfTickMarkAtPoint Method (point)
NamespacesMonobjc.AppKitNSSliderIndexOfTickMarkAtPoint(NSPoint)

Returns the index of the tick mark closest to the location of the receiver represented by the given point.

Original signature is '- (NSInteger)indexOfTickMarkAtPoint:(NSPoint)point'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger IndexOfTickMarkAtPoint(
	NSPoint point
)
Public Overridable Function IndexOfTickMarkAtPoint ( _
	point As NSPoint _
) As NSInteger
public:
virtual NSInteger IndexOfTickMarkAtPoint(
	NSPoint point
)
Parameters
point (NSPoint)
The point representing the location for which to retrieve the tick mark.
Return Value
The index of the tick mark closest to the location specified by point. If point is not within the bounding rectangle (plus an extra pixel of space) of any tick mark, the method returns NSNotFound.
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)