UITextInput_Extensions.SetSelectionAffinity(IUITextInput, UITextStorageDirection) UITextInput_Extensions.SetSelectionAffinity(IUITextInput, UITextStorageDirection) Method

Definition

Sets 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.

public static void SetSelectionAffinity (this UIKit.IUITextInput This, UIKit.UITextStorageDirection value);
static member SetSelectionAffinity : UIKit.IUITextInput * UIKit.UITextStorageDirection -> unit

Parameters

This
IUITextInput IUITextInput

The instance on which this method operates.

Applies to