iOS Guides | Samples

MonoTouch.UIKit.IUITextInputTraits

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

See Also: IUITextInputTraits

Syntax

[MonoTouch.Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(MonoTouch.UIKit.UITextInputTraitsWrapper))]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocapitalizationType", IsProperty=true, IsRequired=true, IsStatic=false, Name="AutocapitalizationType", PropertyType=typeof(MonoTouch.UIKit.UITextAutocapitalizationType), Selector="autocapitalizationType", SetterSelector="setAutocapitalizationType:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(MonoTouch.UIKit.UITextAutocorrectionType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardType", IsProperty=true, IsRequired=true, IsStatic=false, Name="KeyboardType", PropertyType=typeof(MonoTouch.UIKit.UIKeyboardType), Selector="keyboardType", SetterSelector="setKeyboardType:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="keyboardAppearance", IsProperty=true, IsRequired=true, IsStatic=false, Name="KeyboardAppearance", PropertyType=typeof(MonoTouch.UIKit.UIKeyboardAppearance), Selector="keyboardAppearance", SetterSelector="setKeyboardAppearance:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="returnKeyType", IsProperty=true, IsRequired=true, IsStatic=false, Name="ReturnKeyType", PropertyType=typeof(MonoTouch.UIKit.UIReturnKeyType), Selector="returnKeyType", SetterSelector="setReturnKeyType:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="enablesReturnKeyAutomatically", IsProperty=true, IsRequired=true, IsStatic=false, Name="EnablesReturnKeyAutomatically", PropertyType=typeof(System.Boolean), Selector="enablesReturnKeyAutomatically", SetterSelector="setEnablesReturnKeyAutomatically:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSecureTextEntry", IsProperty=true, IsRequired=true, IsStatic=false, Name="SecureTextEntry", PropertyType=typeof(System.Boolean), Selector="secureTextEntry", SetterSelector="setSecureTextEntry:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=true, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(MonoTouch.UIKit.UITextSpellCheckingType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="textContentType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextContentType", PropertyType=typeof(MonoTouch.Foundation.NSString), Selector="textContentType", SetterSelector="setTextContentType:")]
public interface IUITextInputTraits : INativeObject, IDisposable

Remarks

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.IUITextInputTraits are listed below.

Public Properties

AutocapitalizationTypeUITextAutocapitalizationType. The UITextAutocapitalizationType used by the UITextInput.
AutocorrectionTypeUITextAutocorrectionType. The UITextAutocorrectionType used by the UITextInput.
EnablesReturnKeyAutomaticallyBoolean. Whether the return key is automatically enabled.
KeyboardAppearanceUIKeyboardAppearance. The UIKeyboardAppearance used by the UITextInput
KeyboardTypeUIKeyboardType. The UIKeyboarType used by the UITextInput.
ReturnKeyTypeUIReturnKeyType. The form of the return key for the UITextInput.
SecureTextEntryBoolean. Whether the entered text should be hidden.
SpellCheckingTypeUITextSpellCheckingType. 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).