Share via


INSTextCheckingClient Interface

Definition

This interface represents the Objective-C protocol NSTextCheckingClient.

[Foundation.Protocol(Name="NSTextCheckingClient", WrapperType=typeof(AppKit.NSTextCheckingClientWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnnotatedSubstring", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSAttributedString), Selector="annotatedSubstringForProposedRange:actualRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAnnotations", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSString>), typeof(Foundation.NSRange) }, Selector="setAnnotations:range:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnnotations", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSString>), typeof(Foundation.NSRange) }, Selector="addAnnotations:range:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnnotation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.String), typeof(Foundation.NSRange) }, Selector="removeAnnotation:range:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ReplaceCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(Foundation.NSAttributedString) }, Selector="replaceCharactersInRange:withAnnotatedString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectAndShow", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange) }, Selector="selectAndShowRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetView", ParameterByRef=new System.Boolean[] { false, true, true }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(CoreGraphics.CGRect), typeof(Foundation.NSRange) }, ReturnType=typeof(AppKit.NSView), Selector="viewForRange:firstRect:actualRange:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="candidateListTouchBarItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="CandidateListTouchBarItem", PropertyType=typeof(AppKit.NSCandidateListTouchBarItem), Selector="candidateListTouchBarItem")]
public interface INSTextCheckingClient : AppKit.INSTextInputClient, AppKit.INSTextInputTraits, IDisposable
[<Foundation.Protocol(Name="NSTextCheckingClient", WrapperType=typeof(AppKit.NSTextCheckingClientWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnnotatedSubstring", ParameterByRef=new System.Boolean[] { false, true }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSAttributedString), Selector="annotatedSubstringForProposedRange:actualRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAnnotations", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSString>), typeof(Foundation.NSRange) }, Selector="setAnnotations:range:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnnotations", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSString>), typeof(Foundation.NSRange) }, Selector="addAnnotations:range:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnnotation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.String), typeof(Foundation.NSRange) }, Selector="removeAnnotation:range:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ReplaceCharacters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(Foundation.NSAttributedString) }, Selector="replaceCharactersInRange:withAnnotatedString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectAndShow", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSRange) }, Selector="selectAndShowRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetView", ParameterByRef=new System.Boolean[] { false, true, true }, ParameterType=new System.Type[] { typeof(Foundation.NSRange), typeof(CoreGraphics.CGRect), typeof(Foundation.NSRange) }, ReturnType=typeof(AppKit.NSView), Selector="viewForRange:firstRect:actualRange:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="candidateListTouchBarItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="CandidateListTouchBarItem", PropertyType=typeof(AppKit.NSCandidateListTouchBarItem), Selector="candidateListTouchBarItem")>]
type INSTextCheckingClient = interface
    interface INativeObject
    interface IDisposable
    interface INSTextInputClient
    interface INSTextInputTraits
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 (Inherited from INSTextInputTraits)
AttributedString (Inherited from INSTextInputClient)
AutocorrectionType (Inherited from INSTextInputTraits)
CandidateListTouchBarItem
DataDetectionType (Inherited from INSTextInputTraits)
DocumentVisibleRect (Inherited from INSTextInputClient)
GrammarCheckingType (Inherited from INSTextInputTraits)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
HasMarkedText (Inherited from INSTextInputClient)
InlinePredictionType (Inherited from INSTextInputTraits)
LinkDetectionType (Inherited from INSTextInputTraits)
MarkedRange (Inherited from INSTextInputClient)
MathExpressionCompletionType (Inherited from INSTextInputTraits)
PreferredTextAccessoryPlacement (Inherited from INSTextInputClient)
SelectedRange (Inherited from INSTextInputClient)
SmartDashesType (Inherited from INSTextInputTraits)
SmartInsertDeleteType (Inherited from INSTextInputTraits)
SmartQuotesType (Inherited from INSTextInputTraits)
SpellCheckingType (Inherited from INSTextInputTraits)
SupportsAdaptiveImageGlyph (Inherited from INSTextInputClient)
TextCompletionType (Inherited from INSTextInputTraits)
TextReplacementType (Inherited from INSTextInputTraits)
UnionRectInVisibleSelectedRange (Inherited from INSTextInputClient)
ValidAttributesForMarkedText (Inherited from INSTextInputClient)
WindowLevel (Inherited from INSTextInputClient)
WritingToolsBehavior (Inherited from INSTextInputTraits)

Methods

Name Description
AddAnnotations(NSDictionary<NSString,NSString>, NSRange)
DrawsVertically(UIntPtr) (Inherited from INSTextInputClient)
GetAnnotatedSubstring(NSRange, NSRange)
GetAttributedSubstring(NSRange, NSRange) (Inherited from INSTextInputClient)
GetBaselineDelta(UIntPtr) (Inherited from INSTextInputClient)
GetCharacterIndex(CGPoint) (Inherited from INSTextInputClient)
GetFirstRect(NSRange, NSRange) (Inherited from INSTextInputClient)
GetFractionOfDistanceThroughGlyph(CGPoint) (Inherited from INSTextInputClient)
GetView(NSRange, CGRect, NSRange)
InsertAdaptiveImageGlyph(NSAdaptiveImageGlyph, NSRange) (Inherited from INSTextInputClient)
InsertText(NSObject, NSRange) (Inherited from INSTextInputClient)
RemoveAnnotation(String, NSRange)
ReplaceCharacters(NSRange, NSAttributedString)
SelectAndShow(NSRange)
SetAnnotations(NSDictionary<NSString,NSString>, NSRange)
SetMarkedText(NSObject, NSRange, NSRange) (Inherited from INSTextInputClient)
UnmarkText() (Inherited from INSTextInputClient)

Extension Methods

Name Description
DrawsVertically(INSTextInputClient, UIntPtr)
GetAttributedString(INSTextInputClient)
GetBaselineDelta(INSTextInputClient, UIntPtr)
GetDocumentVisibleRect(INSTextInputClient)
GetFractionOfDistanceThroughGlyph(INSTextInputClient, CGPoint)
GetPreferredTextAccessoryPlacement(INSTextInputClient)
GetSupportsAdaptiveImageGlyph(INSTextInputClient)
GetUnionRectInVisibleSelectedRange(INSTextInputClient)
GetWindowLevel(INSTextInputClient)
InsertAdaptiveImageGlyph(INSTextInputClient, NSAdaptiveImageGlyph, NSRange)
GetAllowedWritingToolsResultOptions(INSTextInputTraits)
GetAutocorrectionType(INSTextInputTraits)
GetDataDetectionType(INSTextInputTraits)
GetGrammarCheckingType(INSTextInputTraits)
GetInlinePredictionType(INSTextInputTraits)
GetLinkDetectionType(INSTextInputTraits)
GetMathExpressionCompletionType(INSTextInputTraits)
GetSmartDashesType(INSTextInputTraits)
GetSmartInsertDeleteType(INSTextInputTraits)
GetSmartQuotesType(INSTextInputTraits)
GetSpellCheckingType(INSTextInputTraits)
GetTextCompletionType(INSTextInputTraits)
GetTextReplacementType(INSTextInputTraits)
GetWritingToolsBehavior(INSTextInputTraits)
SetAllowedWritingToolsResultOptions(INSTextInputTraits, NSWritingToolsResultOptions)
SetAutocorrectionType(INSTextInputTraits, NSTextInputTraitType)
SetDataDetectionType(INSTextInputTraits, NSTextInputTraitType)
SetGrammarCheckingType(INSTextInputTraits, NSTextInputTraitType)
SetInlinePredictionType(INSTextInputTraits, NSTextInputTraitType)
SetLinkDetectionType(INSTextInputTraits, NSTextInputTraitType)
SetMathExpressionCompletionType(INSTextInputTraits, NSTextInputTraitType)
SetSmartDashesType(INSTextInputTraits, NSTextInputTraitType)
SetSmartInsertDeleteType(INSTextInputTraits, NSTextInputTraitType)
SetSmartQuotesType(INSTextInputTraits, NSTextInputTraitType)
SetSpellCheckingType(INSTextInputTraits, NSTextInputTraitType)
SetTextCompletionType(INSTextInputTraits, NSTextInputTraitType)
SetTextReplacementType(INSTextInputTraits, NSTextInputTraitType)
SetWritingToolsBehavior(INSTextInputTraits, NSWritingToolsBehavior)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to