Share via


IUITextInputTraits Interface

Definition

An interface implemented by UITextField and UITextView with common input traits.

[Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardType", PropertyType=typeof(UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=false, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=false, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=false, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(UIKit.UITextSmartQuotesType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(UIKit.UITextSmartDashesType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(UIKit.UITextSmartInsertDeleteType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="passwordRules", IsProperty=true, IsRequired=false, IsStatic=false, Name="PasswordRules", PropertyType=typeof(UIKit.UITextInputPasswordRules), Selector="passwordRules", SetterSelector="setPasswordRules:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(UIKit.UITextInlinePredictionType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="writingToolsBehavior", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritingToolsBehavior", PropertyType=typeof(UIKit.UIWritingToolsBehavior), Selector="writingToolsBehavior", SetterSelector="setWritingToolsBehavior:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="allowedWritingToolsResultOptions", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowedWritingToolsResultOptions", PropertyType=typeof(UIKit.UIWritingToolsResultOptions), Selector="allowedWritingToolsResultOptions", SetterSelector="setAllowedWritingToolsResultOptions:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(UIKit.UITextMathExpressionCompletionType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="conversationContext", IsProperty=true, IsRequired=false, IsStatic=false, Name="ConversationContext", PropertyType=typeof(UIKit.UIConversationContext), Selector="conversationContext", SetterSelector="setConversationContext:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsNumberPadPopover", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsNumberPadPopover", PropertyType=typeof(System.Boolean), Selector="allowsNumberPadPopover", SetterSelector="setAllowsNumberPadPopover:")]
public interface IUITextInputTraits : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardType", PropertyType=typeof(UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=false, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=false, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=false, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(UIKit.UITextSmartQuotesType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(UIKit.UITextSmartDashesType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(UIKit.UITextSmartInsertDeleteType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="passwordRules", IsProperty=true, IsRequired=false, IsStatic=false, Name="PasswordRules", PropertyType=typeof(UIKit.UITextInputPasswordRules), Selector="passwordRules", SetterSelector="setPasswordRules:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(UIKit.UITextInlinePredictionType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="writingToolsBehavior", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritingToolsBehavior", PropertyType=typeof(UIKit.UIWritingToolsBehavior), Selector="writingToolsBehavior", SetterSelector="setWritingToolsBehavior:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="allowedWritingToolsResultOptions", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowedWritingToolsResultOptions", PropertyType=typeof(UIKit.UIWritingToolsResultOptions), Selector="allowedWritingToolsResultOptions", SetterSelector="setAllowedWritingToolsResultOptions:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(UIKit.UITextMathExpressionCompletionType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsNumberPadPopover", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsNumberPadPopover", PropertyType=typeof(System.Boolean), Selector="allowsNumberPadPopover", SetterSelector="setAllowsNumberPadPopover:")]
public interface IUITextInputTraits : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardType", PropertyType=typeof(UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=false, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=false, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=false, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(UIKit.UITextSmartQuotesType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(UIKit.UITextSmartDashesType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(UIKit.UITextSmartInsertDeleteType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="passwordRules", IsProperty=true, IsRequired=false, IsStatic=false, Name="PasswordRules", PropertyType=typeof(UIKit.UITextInputPasswordRules), Selector="passwordRules", SetterSelector="setPasswordRules:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(UIKit.UITextInlinePredictionType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(UIKit.UITextMathExpressionCompletionType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsNumberPadPopover", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsNumberPadPopover", PropertyType=typeof(System.Boolean), Selector="allowsNumberPadPopover", SetterSelector="setAllowsNumberPadPopover:")]
public interface IUITextInputTraits : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardType", PropertyType=typeof(UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=false, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=false, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=false, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(UIKit.UITextSmartQuotesType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(UIKit.UITextSmartDashesType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(UIKit.UITextSmartInsertDeleteType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="passwordRules", IsProperty=true, IsRequired=false, IsStatic=false, Name="PasswordRules", PropertyType=typeof(UIKit.UITextInputPasswordRules), Selector="passwordRules", SetterSelector="setPasswordRules:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(UIKit.UITextInlinePredictionType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="writingToolsBehavior", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritingToolsBehavior", PropertyType=typeof(UIKit.UIWritingToolsBehavior), Selector="writingToolsBehavior", SetterSelector="setWritingToolsBehavior:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="allowedWritingToolsResultOptions", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowedWritingToolsResultOptions", PropertyType=typeof(UIKit.UIWritingToolsResultOptions), Selector="allowedWritingToolsResultOptions", SetterSelector="setAllowedWritingToolsResultOptions:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(UIKit.UITextMathExpressionCompletionType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="conversationContext", IsProperty=true, IsRequired=false, IsStatic=false, Name="ConversationContext", PropertyType=typeof(UIKit.UIConversationContext), Selector="conversationContext", SetterSelector="setConversationContext:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsNumberPadPopover", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsNumberPadPopover", PropertyType=typeof(System.Boolean), Selector="allowsNumberPadPopover", SetterSelector="setAllowsNumberPadPopover:")>]
type IUITextInputTraits = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardType", PropertyType=typeof(UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=false, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=false, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=false, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(UIKit.UITextSmartQuotesType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(UIKit.UITextSmartDashesType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(UIKit.UITextSmartInsertDeleteType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="passwordRules", IsProperty=true, IsRequired=false, IsStatic=false, Name="PasswordRules", PropertyType=typeof(UIKit.UITextInputPasswordRules), Selector="passwordRules", SetterSelector="setPasswordRules:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(UIKit.UITextInlinePredictionType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="writingToolsBehavior", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritingToolsBehavior", PropertyType=typeof(UIKit.UIWritingToolsBehavior), Selector="writingToolsBehavior", SetterSelector="setWritingToolsBehavior:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="allowedWritingToolsResultOptions", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowedWritingToolsResultOptions", PropertyType=typeof(UIKit.UIWritingToolsResultOptions), Selector="allowedWritingToolsResultOptions", SetterSelector="setAllowedWritingToolsResultOptions:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(UIKit.UITextMathExpressionCompletionType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsNumberPadPopover", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsNumberPadPopover", PropertyType=typeof(System.Boolean), Selector="allowsNumberPadPopover", SetterSelector="setAllowsNumberPadPopover:")>]
type IUITextInputTraits = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardType", PropertyType=typeof(UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=false, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=false, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=false, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=false, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(UIKit.UITextSmartQuotesType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(UIKit.UITextSmartDashesType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(UIKit.UITextSmartInsertDeleteType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="passwordRules", IsProperty=true, IsRequired=false, IsStatic=false, Name="PasswordRules", PropertyType=typeof(UIKit.UITextInputPasswordRules), Selector="passwordRules", SetterSelector="setPasswordRules:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(UIKit.UITextInlinePredictionType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(UIKit.UITextMathExpressionCompletionType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowsNumberPadPopover", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowsNumberPadPopover", PropertyType=typeof(System.Boolean), Selector="allowsNumberPadPopover", SetterSelector="setAllowsNumberPadPopover:")>]
type IUITextInputTraits = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

AllowedWritingToolsResultOptions
AllowsNumberPadPopover
AutocapitalizationType

The UITextAutocapitalizationType used by the IUITextInput.

AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

ConversationContext
EnablesReturnKeyAutomatically

Whether the return key is automatically enabled.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
InlinePredictionType
KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

KeyboardType

The UIKeyboardType used by the IUITextInput.

MathExpressionCompletionType
PasswordRules

The password entry rules.

ReturnKeyType

The form of the return key for the IUITextInput.

SecureTextEntry

Whether the entered text should be hidden.

SmartDashesType

The smart dashes style.

SmartInsertDeleteType

The smart insert style.

SmartQuotesType

The smart quotes style.

SpellCheckingType

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

TextContentType

The semantic of the expected input, which allows the system to, for example, provide custom keyboards.

WritingToolsBehavior

Extension Methods

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetAllowedWritingToolsResultOptions(IUITextInputTraits)
GetAllowsNumberPadPopover(IUITextInputTraits)
GetAutocapitalizationType(IUITextInputTraits)

The UITextAutocapitalizationType used by the IUITextInput.

GetAutocorrectionType(IUITextInputTraits)

The UITextAutocorrectionType used by the IUITextInput.

GetConversationContext(IUITextInputTraits)
GetEnablesReturnKeyAutomatically(IUITextInputTraits)

Whether the return key is automatically enabled.

GetInlinePredictionType(IUITextInputTraits)
GetKeyboardAppearance(IUITextInputTraits)

The UIKeyboardAppearance used by the IUITextInput

GetKeyboardType(IUITextInputTraits)

The UIKeyboardType used by the IUITextInput.

GetMathExpressionCompletionType(IUITextInputTraits)
GetPasswordRules(IUITextInputTraits)

The password entry rules.

GetReturnKeyType(IUITextInputTraits)

The form of the return key for the IUITextInput.

GetSecureTextEntry(IUITextInputTraits)

Whether the entered text should be hidden.

GetSmartDashesType(IUITextInputTraits)

The smart dashes style.

GetSmartInsertDeleteType(IUITextInputTraits)

The smart insert style.

GetSmartQuotesType(IUITextInputTraits)

The smart quotes style.

GetSpellCheckingType(IUITextInputTraits)

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

GetTextContentType(IUITextInputTraits)

The semantic of the expected input, which allows the system to, for example, provide custom keyboards.

GetWritingToolsBehavior(IUITextInputTraits)
SetAllowedWritingToolsResultOptions(IUITextInputTraits, UIWritingToolsResultOptions)
SetAllowsNumberPadPopover(IUITextInputTraits, Boolean)
SetAutocapitalizationType(IUITextInputTraits, UITextAutocapitalizationType)

The UITextAutocapitalizationType used by the IUITextInput.

SetAutocorrectionType(IUITextInputTraits, UITextAutocorrectionType)

The UITextAutocorrectionType used by the IUITextInput.

SetConversationContext(IUITextInputTraits, UIConversationContext)
SetEnablesReturnKeyAutomatically(IUITextInputTraits, Boolean)

Whether the return key is automatically enabled.

SetInlinePredictionType(IUITextInputTraits, UITextInlinePredictionType)
SetKeyboardAppearance(IUITextInputTraits, UIKeyboardAppearance)

The UIKeyboardAppearance used by the IUITextInput

SetKeyboardType(IUITextInputTraits, UIKeyboardType)

The UIKeyboardType used by the IUITextInput.

SetMathExpressionCompletionType(IUITextInputTraits, UITextMathExpressionCompletionType)
SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

The password entry rules.

SetReturnKeyType(IUITextInputTraits, UIReturnKeyType)

The form of the return key for the IUITextInput.

SetSecureTextEntry(IUITextInputTraits, Boolean)

Whether the entered text should be hidden.

SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

The smart dashes style.

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

The smart insert style.

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

The smart quotes style.

SetSpellCheckingType(IUITextInputTraits, UITextSpellCheckingType)

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

SetTextContentType(IUITextInputTraits, NSString)

The semantic of the expected input, which allows the system to, for example, provide custom keyboards.

SetWritingToolsBehavior(IUITextInputTraits, UIWritingToolsBehavior)

Applies to