Upravit

Sdílet prostřednictvím


IUITextPasteItem Interface

Definition

Interface for working with paste and drop text items.

[Foundation.Protocol(Name="UITextPasteItem", WrapperType=typeof(UIKit.UITextPasteItemWrapper))]
[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 IUITextPasteItem : IDisposable, ObjCRuntime.INativeObject
type IUITextPasteItem = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

DefaultAttributes

Gets the default attributes for plain text paste items.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
ItemProvider

Gets the provider that provides the text data for the paste item.

LocalObject

Gets the context object, if present, that was attached to the item when it was lifted.

Methods

SetAttachmentResult(NSTextAttachment)

Sets the attachement result to the specified attachment.

SetAttributedStringResult(NSAttributedString)

Sets the string value of the paste item.

SetDefaultResult()
SetNoResult()

Causes the text value to not be provided by its provider.

SetStringResult(String)

Sets the text result.

Applies to