namespace AppKit
{
    [Protocol(Name = "NSTextInputTraits", WrapperType = typeof(NSTextInputTraitsWrapper))]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "autocorrectionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "AutocorrectionType", PropertyType = typeof(NSTextInputTraitType), Selector = "autocorrectionType", SetterSelector = "setAutocorrectionType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "spellCheckingType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SpellCheckingType", PropertyType = typeof(NSTextInputTraitType), Selector = "spellCheckingType", SetterSelector = "setSpellCheckingType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "grammarCheckingType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "GrammarCheckingType", PropertyType = typeof(NSTextInputTraitType), Selector = "grammarCheckingType", SetterSelector = "setGrammarCheckingType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "smartQuotesType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SmartQuotesType", PropertyType = typeof(NSTextInputTraitType), Selector = "smartQuotesType", SetterSelector = "setSmartQuotesType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "smartDashesType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SmartDashesType", PropertyType = typeof(NSTextInputTraitType), Selector = "smartDashesType", SetterSelector = "setSmartDashesType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "smartInsertDeleteType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SmartInsertDeleteType", PropertyType = typeof(NSTextInputTraitType), Selector = "smartInsertDeleteType", SetterSelector = "setSmartInsertDeleteType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "textReplacementType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "TextReplacementType", PropertyType = typeof(NSTextInputTraitType), Selector = "textReplacementType", SetterSelector = "setTextReplacementType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "dataDetectionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "DataDetectionType", PropertyType = typeof(NSTextInputTraitType), Selector = "dataDetectionType", SetterSelector = "setDataDetectionType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "linkDetectionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "LinkDetectionType", PropertyType = typeof(NSTextInputTraitType), Selector = "linkDetectionType", SetterSelector = "setLinkDetectionType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "textCompletionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "TextCompletionType", PropertyType = typeof(NSTextInputTraitType), Selector = "textCompletionType", SetterSelector = "setTextCompletionType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "inlinePredictionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "InlinePredictionType", PropertyType = typeof(NSTextInputTraitType), Selector = "inlinePredictionType", SetterSelector = "setInlinePredictionType:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTextInputTraits : INativeObject, IDisposable
}
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
.NET 6.0-macos7.0-macos8.0-macos9.0-macos
Xamarin macOS 0.0
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

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