MonobjcMonobjc Documented Class Library
IsSelectedForSegment Method (segment)

Returns a Boolean value indicating whether the specified segment is selected.

Original signature is '- (BOOL)isSelectedForSegment:(NSInteger)segment'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool IsSelectedForSegment(
	NSInteger segment
Public Overridable Function IsSelectedForSegment ( _
	segment As NSInteger _
) As Boolean
virtual bool IsSelectedForSegment(
	NSInteger segment
segment (NSInteger)
The index of the segment whose selection state you want to get. This method raises an NSRangeException if the index is out of bounds.
Return Value
YES if the segment is selected; otherwise, NO.
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)