namespace UIKit
{
    [Protocol(Name = "UITextInputTraits", WrapperType = typeof(UITextInputTraitsWrapper))]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "autocapitalizationType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "AutocapitalizationType", PropertyType = typeof(UITextAutocapitalizationType), Selector = "autocapitalizationType", SetterSelector = "setAutocapitalizationType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "autocorrectionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "AutocorrectionType", PropertyType = typeof(UITextAutocorrectionType), Selector = "autocorrectionType", SetterSelector = "setAutocorrectionType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "keyboardType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "KeyboardType", PropertyType = typeof(UIKeyboardType), Selector = "keyboardType", SetterSelector = "setKeyboardType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "keyboardAppearance", IsProperty = true, IsRequired = false, IsStatic = false, Name = "KeyboardAppearance", PropertyType = typeof(UIKeyboardAppearance), Selector = "keyboardAppearance", SetterSelector = "setKeyboardAppearance:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "returnKeyType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "ReturnKeyType", PropertyType = typeof(UIReturnKeyType), Selector = "returnKeyType", SetterSelector = "setReturnKeyType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "enablesReturnKeyAutomatically", IsProperty = true, IsRequired = false, IsStatic = false, Name = "EnablesReturnKeyAutomatically", PropertyType = typeof(bool), Selector = "enablesReturnKeyAutomatically", SetterSelector = "setEnablesReturnKeyAutomatically:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isSecureTextEntry", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SecureTextEntry", PropertyType = typeof(bool), Selector = "secureTextEntry", SetterSelector = "setSecureTextEntry:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "spellCheckingType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SpellCheckingType", PropertyType = typeof(UITextSpellCheckingType), Selector = "spellCheckingType", SetterSelector = "setSpellCheckingType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "textContentType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "TextContentType", PropertyType = typeof(NSString), Selector = "textContentType", SetterSelector = "setTextContentType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "smartQuotesType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SmartQuotesType", PropertyType = typeof(UITextSmartQuotesType), Selector = "smartQuotesType", SetterSelector = "setSmartQuotesType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "smartDashesType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SmartDashesType", PropertyType = typeof(UITextSmartDashesType), Selector = "smartDashesType", SetterSelector = "setSmartDashesType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "smartInsertDeleteType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SmartInsertDeleteType", PropertyType = typeof(UITextSmartInsertDeleteType), Selector = "smartInsertDeleteType", SetterSelector = "setSmartInsertDeleteType:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "passwordRules", IsProperty = true, IsRequired = false, IsStatic = false, Name = "PasswordRules", PropertyType = typeof(UITextInputPasswordRules), Selector = "passwordRules", SetterSelector = "setPasswordRules:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "inlinePredictionType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "InlinePredictionType", PropertyType = typeof(UITextInlinePredictionType), Selector = "inlinePredictionType", SetterSelector = "setInlinePredictionType:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    public interface IUITextInputTraits : INativeObject, IDisposable
}
nuget.org
0.0 %
Assembly Microsoft.MacCatalyst , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst6.0-tvos7.0-ios7.0-maccatalyst7.0-tvos8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos
Xamarin iOS 0.0
Xamarin tvOS 0.0
OS Platforms

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

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

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