IUITextViewDelegate
Changed(UITextView)
DidBeginFormatting(UITextView, UITextFormattingViewController)
DidEndFormatting(UITextView, UITextFormattingViewController)
EditingEnded(UITextView)
EditingStarted(UITextView)
GetEditMenuForText(UITextView, NSRange, UIMenuElement[])
GetMenuConfiguration(UITextView, UITextItem, UIMenu)
GetPrimaryAction(UITextView, UITextItem, UIAction)
GetWritingToolsIgnoredRangesInEnclosingRange(UITextView, NSRange)
InsertInputSuggestion(UITextView, UIInputSuggestion)
SelectionChanged(UITextView)
ShouldBeginEditing(UITextView)
ShouldChangeText(UITextView, NSRange, String)
ShouldEndEditing(UITextView)
ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)
ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)
ShouldInteractWithUrl(UITextView, NSUrl, NSRange)
ShouldInteractWithUrl(UITextView, NSUrl, NSRange, UITextItemInteraction)
WillBeginFormatting(UITextView, UITextFormattingViewController)
WillDismissEditMenu(UITextView, IUIEditMenuInteractionAnimating)
WillDisplay(UITextView, UITextItem, IUIContextMenuInteractionAnimating)
WillEnd(UITextView, UITextItem, IUIContextMenuInteractionAnimating)
WillEndFormatting(UITextView, UITextFormattingViewController)
WillPresentEditMenu(UITextView, IUIEditMenuInteractionAnimating)
WritingToolsDidEnd(UITextView)
WritingToolsWillBegin(UITextView)
Changed(IUITextViewDelegate, UITextView)
DidBeginFormatting(IUITextViewDelegate, UITextView, UITextFormattingViewController)
DidEndFormatting(IUITextViewDelegate, UITextView, UITextFormattingViewController)
EditingEnded(IUITextViewDelegate, UITextView)
EditingStarted(IUITextViewDelegate, UITextView)
GetEditMenuForText(IUITextViewDelegate, UITextView, NSRange, UIMenuElement[])
GetMenuConfiguration(IUITextViewDelegate, UITextView, UITextItem, UIMenu)
GetPrimaryAction(IUITextViewDelegate, UITextView, UITextItem, UIAction)
GetWritingToolsIgnoredRangesInEnclosingRange(IUITextViewDelegate, UITextView, NSRange)
InsertInputSuggestion(IUITextViewDelegate, UITextView, UIInputSuggestion)
SelectionChanged(IUITextViewDelegate, UITextView)
ShouldBeginEditing(IUITextViewDelegate, UITextView)
ShouldChangeText(IUITextViewDelegate, UITextView, NSRange, String)
ShouldEndEditing(IUITextViewDelegate, UITextView)
ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)
ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange, UITextItemInteraction)
ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)
ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)
WillBeginFormatting(IUITextViewDelegate, UITextView, UITextFormattingViewController)
WillDismissEditMenu(IUITextViewDelegate, UITextView, IUIEditMenuInteractionAnimating)
WillDisplay(IUITextViewDelegate, UITextView, UITextItem, IUIContextMenuInteractionAnimating)
WillEnd(IUITextViewDelegate, UITextView, UITextItem, IUIContextMenuInteractionAnimating)
WillEndFormatting(IUITextViewDelegate, UITextView, UITextFormattingViewController)
WillPresentEditMenu(IUITextViewDelegate, UITextView, IUIEditMenuInteractionAnimating)
WritingToolsDidEnd(IUITextViewDelegate, UITextView)
WritingToolsWillBegin(IUITextViewDelegate, UITextView)
net10.0-ios17.2
namespace UIKit
{
[Protocol(Name = "UITextViewDelegate", WrapperType = typeof(UITextViewDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "EditingStarted", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, Selector = "textViewDidBeginEditing:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "EditingEnded", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, Selector = "textViewDidEndEditing:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Changed", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, Selector = "textViewDidChange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectionChanged", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, Selector = "textViewDidChangeSelection:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPresentEditMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(IUIEditMenuInteractionAnimating) }, Selector = "textView:willPresentEditMenuWithAnimator:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDismissEditMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(IUIEditMenuInteractionAnimating) }, Selector = "textView:willDismissEditMenuWithAnimator:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplay", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextItem), typeof(IUIContextMenuInteractionAnimating) }, Selector = "textView:textItemMenuWillDisplayForTextItem:animator:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillEnd", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextItem), typeof(IUIContextMenuInteractionAnimating) }, Selector = "textView:textItemMenuWillEndForTextItem:animator:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WritingToolsWillBegin", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, Selector = "textViewWritingToolsWillBegin:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WritingToolsDidEnd", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, Selector = "textViewWritingToolsDidEnd:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillBeginFormatting", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextFormattingViewController) }, Selector = "textView:willBeginFormattingWithViewController:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidBeginFormatting", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextFormattingViewController) }, Selector = "textView:didBeginFormattingWithViewController:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillEndFormatting", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextFormattingViewController) }, Selector = "textView:willEndFormattingWithViewController:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidEndFormatting", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextFormattingViewController) }, Selector = "textView:didEndFormattingWithViewController:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "InsertInputSuggestion", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(UIInputSuggestion) }, Selector = "textView:insertInputSuggestion:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBeginEditing", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, ReturnType = typeof(bool), Selector = "textViewShouldBeginEditing:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldEndEditing", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITextView) }, ReturnType = typeof(bool), Selector = "textViewShouldEndEditing:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldChangeText", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSRange), typeof(string) }, ReturnType = typeof(bool), Selector = "textView:shouldChangeTextInRange:replacementText:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldInteractWithUrl", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSUrl), typeof(NSRange) }, ReturnType = typeof(bool), Selector = "textView:shouldInteractWithURL:inRange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldInteractWithTextAttachment", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSTextAttachment), typeof(NSRange) }, ReturnType = typeof(bool), Selector = "textView:shouldInteractWithTextAttachment:inRange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldInteractWithUrl", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSUrl), typeof(NSRange), typeof(UITextItemInteraction) }, ReturnType = typeof(bool), Selector = "textView:shouldInteractWithURL:inRange:interaction:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldInteractWithTextAttachment", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSTextAttachment), typeof(NSRange), typeof(UITextItemInteraction) }, ReturnType = typeof(bool), Selector = "textView:shouldInteractWithTextAttachment:inRange:interaction:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetEditMenuForText", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSRange), typeof(UIMenuElement[]) }, ReturnType = typeof(UIMenu), Selector = "textView:editMenuForTextInRange:suggestedActions:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPrimaryAction", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextItem), typeof(UIAction) }, ReturnType = typeof(UIAction), Selector = "textView:primaryActionForTextItem:defaultAction:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetMenuConfiguration", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITextView), typeof(UITextItem), typeof(UIMenu) }, ReturnType = typeof(UITextItemMenuConfiguration), Selector = "textView:menuConfigurationForTextItem:defaultMenu:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetWritingToolsIgnoredRangesInEnclosingRange", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITextView), typeof(NSRange) }, ReturnType = typeof(NSValue[]), Selector = "textView:writingToolsIgnoredRangesInEnclosingRange:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("macos")]
public interface IUITextViewDelegate : INativeObject, IDisposable, IUIScrollViewDelegate
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("textView:shouldInteractWithURL:inRange:interaction:")]
[ObsoletedOSPlatform("ios10.0", "Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")]
[ObsoletedOSPlatform("tvos10.0", "Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")]
[ObsoletedOSPlatform("maccatalyst13.1", "Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")]
[OptionalMember]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("macos")]
virtual bool ShouldInteractWithUrl(UITextView! textView, NSUrl! url, NSRange characterRange, UITextItemInteraction interaction);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| iOS | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
| Mac Catalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
| tvOS | 10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2 |
Information specific to net10.0-ios17.2 | |
| Assembly | Microsoft.iOS , Version=18.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API