Szerkesztés

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


IUITextPasteDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UITextPasteDelegate.

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

Remarks

This interface contains the required methods (if any) from the protocol defined by UITextPasteDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITextPasteDelegate protocol.

Optional methods (if any) are provided by the UITextPasteDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

CombineItemAttributedStrings(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString[], UITextRange)

Method that is called to combine multiple attributed strings.

PerformPaste(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange)

Method that is called to incorporate the pasted data into the application content.

ShouldAnimatePaste(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange)

Returns a Boolean value that tells the system whether to animate the paste operation.

TransformPasteItem(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, IUITextPasteItem)

Method that is called to transform the paste item as it is pasted.

Applies to