Lingua

NSTextCursorAccessoryPlacement Enum

Definition

Specifies where an accessory view is placed relative to the text insertion point (cursor).

[ObjCRuntime.Native]
public enum NSTextCursorAccessoryPlacement
[<ObjCRuntime.Native>]
type NSTextCursorAccessoryPlacement = 
Inheritance
NSTextCursorAccessoryPlacement
Attributes

Fields

Name Value Description
Unspecified 0

The placement is not specified; the system chooses an appropriate placement.

Backward 1

The accessory is shown above horizontal text or to the right of vertical text.

Forward 2

The accessory is shown below horizontal text or to the left of vertical text.

Invisible 3

The accessory is not shown.

Center 4

The accessory is centered above the selected text.

OffscreenLeft 5

The accessory is shown at the left edge of the visible rectangle with a left-pointing arrow when the cursor is off-screen to the left.

OffscreenTop 6

The accessory is shown at the top edge of the visible rectangle with an upward-pointing arrow when the cursor is off-screen above.

OffscreenRight 7

The accessory is shown at the right edge of the visible rectangle with a right-pointing arrow when the cursor is off-screen to the right.

OffscreenBottom 8

The accessory is shown at the bottom edge of the visible rectangle with a downward-pointing arrow when the cursor is off-screen below.

Applies to