net9.0-macos14.2
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
}
.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:

  • 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 🗙