Share via


IUITextInput.SelectionAffinity Property

Definition

A value that controls whether the cursor is displayed at the start of the last line or end of the second-to-last line of a multiline selection.

[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UITextStorageDirection SelectionAffinity { [Foundation.Export("selectionAffinity")] get; [Foundation.Export("setSelectionAffinity:")] set; }
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("selectionAffinity")>]
[<set: Foundation.Export("setSelectionAffinity:")>]
member this.SelectionAffinity : UIKit.UITextStorageDirection with get, set

Property Value

Attributes

Applies to