INSTextInputTraits Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol NSTextInputTraits.
[Foundation.Protocol(Name="NSTextInputTraits", WrapperType=typeof(AppKit.NSTextInputTraitsWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="grammarCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="GrammarCheckingType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="grammarCheckingType", SetterSelector="setGrammarCheckingType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="textReplacementType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextReplacementType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="textReplacementType", SetterSelector="setTextReplacementType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="dataDetectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="DataDetectionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="dataDetectionType", SetterSelector="setDataDetectionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="linkDetectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="LinkDetectionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="linkDetectionType", SetterSelector="setLinkDetectionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="textCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextCompletionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="textCompletionType", SetterSelector="setTextCompletionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="writingToolsBehavior", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritingToolsBehavior", PropertyType=typeof(AppKit.NSWritingToolsBehavior), Selector="writingToolsBehavior", SetterSelector="setWritingToolsBehavior:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowedWritingToolsResultOptions", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowedWritingToolsResultOptions", PropertyType=typeof(AppKit.NSWritingToolsResultOptions), Selector="allowedWritingToolsResultOptions", SetterSelector="setAllowedWritingToolsResultOptions:")]
public interface INSTextInputTraits : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextInputTraits", WrapperType=typeof(AppKit.NSTextInputTraitsWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="autocorrectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="AutocorrectionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="autocorrectionType", SetterSelector="setAutocorrectionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="spellCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SpellCheckingType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="spellCheckingType", SetterSelector="setSpellCheckingType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="grammarCheckingType", IsProperty=true, IsRequired=false, IsStatic=false, Name="GrammarCheckingType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="grammarCheckingType", SetterSelector="setGrammarCheckingType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartQuotesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartQuotesType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="smartQuotesType", SetterSelector="setSmartQuotesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartDashesType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartDashesType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="smartDashesType", SetterSelector="setSmartDashesType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="smartInsertDeleteType", IsProperty=true, IsRequired=false, IsStatic=false, Name="SmartInsertDeleteType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="smartInsertDeleteType", SetterSelector="setSmartInsertDeleteType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="textReplacementType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextReplacementType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="textReplacementType", SetterSelector="setTextReplacementType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="dataDetectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="DataDetectionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="dataDetectionType", SetterSelector="setDataDetectionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="linkDetectionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="LinkDetectionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="linkDetectionType", SetterSelector="setLinkDetectionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="textCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="TextCompletionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="textCompletionType", SetterSelector="setTextCompletionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="inlinePredictionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="InlinePredictionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="inlinePredictionType", SetterSelector="setInlinePredictionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="mathExpressionCompletionType", IsProperty=true, IsRequired=false, IsStatic=false, Name="MathExpressionCompletionType", PropertyType=typeof(AppKit.NSTextInputTraitType), Selector="mathExpressionCompletionType", SetterSelector="setMathExpressionCompletionType:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="writingToolsBehavior", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritingToolsBehavior", PropertyType=typeof(AppKit.NSWritingToolsBehavior), Selector="writingToolsBehavior", SetterSelector="setWritingToolsBehavior:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allowedWritingToolsResultOptions", IsProperty=true, IsRequired=false, IsStatic=false, Name="AllowedWritingToolsResultOptions", PropertyType=typeof(AppKit.NSWritingToolsResultOptions), Selector="allowedWritingToolsResultOptions", SetterSelector="setAllowedWritingToolsResultOptions:")>]
type INSTextInputTraits = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| AllowedWritingToolsResultOptions | |
| AutocorrectionType | |
| DataDetectionType | |
| GrammarCheckingType | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| InlinePredictionType | |
| LinkDetectionType | |
| MathExpressionCompletionType | |
| SmartDashesType | |
| SmartInsertDeleteType | |
| SmartQuotesType | |
| SpellCheckingType | |
| TextCompletionType | |
| TextReplacementType | |
| WritingToolsBehavior | |