net9.0-macos
namespace AppKit
{
    [Protocol(Name = "NSTextInput", WrapperType = typeof(NSTextInputWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "UnmarkText", Selector = "unmarkText")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "InsertText", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSObject) }, Selector = "insertText:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetMarkedText", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSObject), typeof(NSRange) }, Selector = "setMarkedText:selectedRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetAttributedSubstring", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, ReturnType = typeof(NSAttributedString), Selector = "attributedSubstringFromRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetFirstRectForCharacterRange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, ReturnType = typeof(CGRect), Selector = "firstRectForCharacterRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetCharacterIndex", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(CGPoint) }, ReturnType = typeof(UIntPtr), Selector = "characterIndexForPoint:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "hasMarkedText", IsProperty = true, IsRequired = true, IsStatic = false, Name = "HasMarkedText", PropertyType = typeof(bool), Selector = "hasMarkedText")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "conversationIdentifier", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ConversationIdentifier", PropertyType = typeof(IntPtr), Selector = "conversationIdentifier")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "markedRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "MarkedRange", PropertyType = typeof(NSRange), Selector = "markedRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "selectedRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SelectedRange", PropertyType = typeof(NSRange), Selector = "selectedRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "validAttributesForMarkedText", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ValidAttributesForMarkedText", PropertyType = typeof(NSString[]), Selector = "validAttributesForMarkedText")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTextInput : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-macos7.0-macos8.0-macos9.0-macos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

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

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