Szerkesztés

Megosztás a következőn keresztül:


IUITextDroppable Interface

Definition

Interface for accepting dropped text data.

[Foundation.Protocol(Name="UITextDroppable", WrapperType=typeof(UIKit.UITextDroppableWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITextDroppable : IDisposable, UIKit.IUITextInput, UIKit.IUITextPasteConfigurationSupporting
type IUITextDroppable = interface
    interface INativeObject
    interface IDisposable
    interface IUIKeyInput
    interface IUITextInputTraits
    interface IUIPasteConfigurationSupporting
    interface IUITextInput
    interface IUITextPasteConfigurationSupporting
Derived
Attributes
Implements

Properties

AutocapitalizationType

The UITextAutocapitalizationType used by the IUITextInput.

(Inherited from IUITextInputTraits)
AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

(Inherited from IUITextInputTraits)
BeginningOfDocument

The position of text indicating the beginning of a document.

(Inherited from IUITextInput)
EnablesReturnKeyAutomatically

Whether the return key is automatically enabled.

(Inherited from IUITextInputTraits)
EndOfDocument

The position of text indicating the beginning of a document.

(Inherited from IUITextInput)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
HasText

Gets a value that tells whether the key input has text in it.

(Inherited from IUIKeyInput)
KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

(Inherited from IUITextInputTraits)
KeyboardType

The UIKeyboardType used by the IUITextInput.

(Inherited from IUITextInputTraits)
MarkedTextRange

The currently marked range of text in a given document.

(Inherited from IUITextInput)
MarkedTextStyle

Attribute dictionary describing how text should be drawn.

(Inherited from IUITextInput)
PasteConfiguration

The UIPasteConfiguration supported by this object.

(Inherited from IUIPasteConfigurationSupporting)
PasteDelegate

Gets the delegate for handling text pasting and text drops.

(Inherited from IUITextPasteConfigurationSupporting)
ReturnKeyType

The form of the return key for the IUITextInput.

(Inherited from IUITextInputTraits)
SecureTextEntry

Whether the entered text should be hidden.

(Inherited from IUITextInputTraits)
SelectedTextRange

The range of a document's selected text.

(Inherited from IUITextInput)
SpellCheckingType

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

(Inherited from IUITextInputTraits)
TextDropActive

Gets a Boolean value that tells whether there is an active text drop session on the view.

TextDropDelegate

Gets or sets a delegate for managing text drop behavior.

TextDropInteraction

Gets the drop interaction on the text view.

WeakInputDelegate

Indicates a weak input delegate.

(Inherited from IUITextInput)
WeakTokenizer

Indicates a weak tokenizer.

(Inherited from IUITextInput)

Methods

ComparePosition(UITextPosition, UITextPosition)

Gets a comparison of one position to another.

(Inherited from IUITextInput)
DeleteBackward() (Inherited from IUIKeyInput)
GetBaseWritingDirection(UITextPosition, UITextStorageDirection)

Gets the base writing direction for a text position.

(Inherited from IUITextInput)
GetCaretRectForPosition(UITextPosition)

A rectangle used for drawing a caret at a given insertion point.

(Inherited from IUITextInput)
GetCharacterRange(UITextPosition, UITextLayoutDirection)

Gets a character range within the limits of a defined direction.

(Inherited from IUITextInput)
GetCharacterRangeAtPoint(CGPoint)

Gets the character or a range of characters in a document that exists at a given point.

(Inherited from IUITextInput)
GetClosestPositionToPoint(CGPoint, UITextRange) (Inherited from IUITextInput)
GetClosestPositionToPoint(CGPoint)

Gets the closest position in a document that exists to a given point.

(Inherited from IUITextInput)
GetFirstRectForRange(UITextRange)

Gets the first rectangle enclosing a specified range of document text.

(Inherited from IUITextInput)
GetOffsetFromPosition(UITextPosition, UITextPosition)

Gets the number of visible characters between two defined text positions.

(Inherited from IUITextInput)
GetPosition(UITextPosition, nint)

Gets the character offset from the initial position.

(Inherited from IUITextInput)
GetPosition(UITextPosition, UITextLayoutDirection, nint)

Gets the character offset from an initial position.

(Inherited from IUITextInput)
GetPositionWithinRange(UITextRange, UITextLayoutDirection)

Gets a position within a specified range.

(Inherited from IUITextInput)
GetSelectionRects(UITextRange)

Gets an array of selection rects that corresponds to a text range.

(Inherited from IUITextInput)
GetTextRange(UITextPosition, UITextPosition)

Gets a specified text range.

(Inherited from IUITextInput)
InsertText(String)

Inserts text at the cursor.

(Inherited from IUIKeyInput)
ReplaceText(UITextRange, String)

Replaces document text within a specified range.

(Inherited from IUITextInput)
SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange)

Sets a base directon for writing in the specified range of text.

(Inherited from IUITextInput)
SetMarkedText(String, NSRange)

Sets the marked text and marks it as the current selection.

(Inherited from IUITextInput)
TextInRange(UITextRange)

Gets all the text that is specified within a certain range.

(Inherited from IUITextInput)
UnmarkText()

Unmarks all currently marked text within a document

(Inherited from IUITextInput)

Extension Methods

CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

Returns true if the responder can paste from the specified item providers.

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

Performs the paste.

BeginFloatingCursor(IUITextInput, CGPoint)

Begins displaying the floating cursor at the specified point.

DictationRecognitionFailed(IUITextInput)

The recognition of dictation failed.

DictationRecordingDidEnd(IUITextInput)

The recording of dictation ended.

EndFloatingCursor(IUITextInput)

Ends display of the floating cursor.

GetCharacterOffsetOfPosition(IUITextInput, UITextPosition, UITextRange)

Calculates and returns the offset into range of the character that is in position in the document.

GetFrameForDictationResultPlaceholder(IUITextInput, NSObject)

Returns the rectangle in which to display the animated dictation result placeholder.

GetPosition(IUITextInput, UITextRange, nint)

Calculates and returns the absolute position in the document that is atCharacterOffset characters into withinRange.

GetSelectionAffinity(IUITextInput)

Stops displaying the floating cursor.

GetTextInputView(IUITextInput)

Returns the input view that provides the coordinate system for geometric operations within the text input.

GetTextStyling(IUITextInput, UITextPosition, UITextStorageDirection)

Returns a dictionary of style properties for text at the atPosition position.

InsertDictationResult(IUITextInput, NSArray)

Inserts a dictation result at the current position.

InsertDictationResultPlaceholder(IUITextInput)

Returns the placeholder object to use before dictation results are finished being generated.

RemoveDictationResultPlaceholder(IUITextInput, NSObject, Boolean)

The placeholder is no longer needed.

SetSelectionAffinity(IUITextInput, UITextStorageDirection)

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.

ShouldChangeTextInRange(IUITextInput, UITextRange, String)

Asks whether the text in inRange should be replaced with replacementText.

UpdateFloatingCursor(IUITextInput, CGPoint)

Moves the floating curor to the specified point.

GetPasswordRules(IUITextInputTraits)

Returns the password entry rules.

GetSmartDashesType(IUITextInputTraits)

Gets the smart dashes style.

GetSmartInsertDeleteType(IUITextInputTraits)

Gets the smart insert style.

GetSmartQuotesType(IUITextInputTraits)

Gets the smart quotes style.

GetTextContentType(IUITextInputTraits)

Gets the semantic of the expected input, which allows the system to, for example, provide custom keyboards.

SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

Sets the password entry rules.

SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

Sets the style for smart dashes.

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

Sets the style for smart insertion.

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

Sets the style for smart quotes.

SetTextContentType(IUITextInputTraits, NSString)

Sets the semantic of the expected input, which allows the system to, for example, provide custom keyboards.

Applies to