net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTextViewDelegate", WrapperType = typeof(NSTextViewDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CellClicked", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSTextAttachmentCell), typeof(CGRect), typeof(UIntPtr) }, Selector = "textView:clickedOnCell:inRect:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CellDoubleClicked", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSTextAttachmentCell), typeof(CGRect), typeof(UIntPtr) }, Selector = "textView:doubleClickedOnCell:inRect:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeSelection", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "textViewDidChangeSelection:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeTypingAttributes", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "textViewDidChangeTypingAttributes:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DraggedCell", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSTextAttachmentCell), typeof(CGRect), typeof(NSEvent), typeof(UIntPtr) }, Selector = "textView:draggedCell:inRect:event:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "LinkClicked", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSObject), typeof(UIntPtr) }, ReturnType = typeof(bool), Selector = "textView:clickedOnLink:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetWritablePasteboardTypes", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSTextAttachmentCell), typeof(UIntPtr) }, ReturnType = typeof(string[]), Selector = "textView:writablePasteboardTypesForCell:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WriteCell", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSTextAttachmentCell), typeof(UIntPtr), typeof(NSPasteboard), typeof(string) }, ReturnType = typeof(bool), Selector = "textView:writeCell:atIndex:toPasteboard:type:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillChangeSelection", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSRange), typeof(NSRange) }, ReturnType = typeof(NSRange), Selector = "textView:willChangeSelectionFromCharacterRange:toCharacterRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillChangeSelectionFromRanges", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSValue[]), typeof(NSValue[]) }, ReturnType = typeof(NSValue[]), Selector = "textView:willChangeSelectionFromCharacterRanges:toCharacterRanges:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldChangeTextInRanges", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSValue[]), typeof(string[]) }, ReturnType = typeof(bool), Selector = "textView:shouldChangeTextInRanges:replacementStrings:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldChangeTypingAttributes", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSDictionary), typeof(NSDictionary) }, ReturnType = typeof(NSDictionary), Selector = "textView:shouldChangeTypingAttributes:toAttributes:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayToolTip", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(string), typeof(UIntPtr) }, ReturnType = typeof(string), Selector = "textView:willDisplayToolTip:forCharacterAtIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetCompletions", ParameterByRef = new[] { false, false, false, true }, ParameterType = new[] { typeof(NSTextView), typeof(string[]), typeof(NSRange), typeof(IntPtr) }, ReturnType = typeof(string[]), Selector = "textView:completions:forPartialWordRange:indexOfSelectedItem:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldChangeTextInRange", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSRange), typeof(string) }, ReturnType = typeof(bool), Selector = "textView:shouldChangeTextInRange:replacementString:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DoCommandBySelector", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTextView), typeof(Selector) }, ReturnType = typeof(bool), Selector = "textView:doCommandBySelector:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSetSpellingState", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(IntPtr), typeof(NSRange) }, ReturnType = typeof(IntPtr), Selector = "textView:shouldSetSpellingState:range:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MenuForEvent", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSMenu), typeof(NSEvent), typeof(UIntPtr) }, ReturnType = typeof(NSMenu), Selector = "textView:menu:forEvent:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillCheckText", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSRange), typeof(NSDictionary), typeof(NSTextCheckingTypes) }, ReturnType = typeof(NSDictionary), Selector = "textView:willCheckTextInRange:options:types:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidCheckText", ParameterByRef = new[] { false, false, false, false, false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSRange), typeof(NSTextCheckingTypes), typeof(NSDictionary), typeof(NSTextCheckingResult[]), typeof(NSOrthography), typeof(IntPtr) }, ReturnType = typeof(NSTextCheckingResult[]), Selector = "textView:didCheckTextInRange:types:options:results:orthography:wordCount:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetUndoManager", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSTextView) }, ReturnType = typeof(NSUndoManager), Selector = "undoManagerForTextView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldUpdateTouchBarItemIdentifiers", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTextView), typeof(string[]) }, ReturnType = typeof(string[]), Selector = "textView:shouldUpdateTouchBarItemIdentifiers:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetCandidates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSRange) }, ReturnType = typeof(NSObject[]), Selector = "textView:candidatesForSelectedRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTextCheckingCandidates", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextView), typeof(NSTextCheckingResult[]), typeof(NSRange) }, ReturnType = typeof(NSTextCheckingResult[]), Selector = "textView:candidates:forSelectedRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSelectCandidates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTextView), typeof(UIntPtr) }, ReturnType = typeof(bool), Selector = "textView:shouldSelectCandidateAtIndex:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTextViewDelegate : INSTextDelegate, INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

12/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙