These constants specify the preferred direction of selection. They’re used by selectionAffinity and setSelectedRange:affinity:stillSelecting:.
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum NSSelectionAffinity
Public Enumeration NSSelectionAffinity
public enum class NSSelectionAffinity
Members
Member | Description |
---|---|
NSSelectionAffinityUpstream | The selection is moving toward the top of the document. Available in Mac OS X v10.0 and later. |
NSSelectionAffinityDownstream | The selection is moving toward the bottom of the document. Available in Mac OS X v10.0 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)