INSTextSelectionDataSource Interface

Definition

This interface represents the Objective-C protocol NSTextSelectionDataSource.

[Foundation.Protocol(Name="NSTextSelectionDataSource", WrapperType=typeof(AppKit.NSTextSelectionDataSourceWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EnumerateSubstrings", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDNSTextSelectionDataSourceEnumerateSubstringsDelegate) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(Foundation.NSStringEnumerationOptions), typeof(AppKit.NSTextSelectionDataSourceEnumerateSubstringsDelegate) }, Selector="enumerateSubstringsFromLocation:options:usingBlock:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetTextRange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionGranularity), typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextRange), Selector="textRangeForSelectionGranularity:enclosingLocation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetLocation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(System.IntPtr) }, ReturnType=typeof(AppKit.INSTextLocation), Selector="locationFromLocation:withOffset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetOffsetFromLocation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(AppKit.INSTextLocation) }, ReturnType=typeof(System.IntPtr), Selector="offsetFromLocation:toLocation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetBaseWritingDirection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextSelectionNavigationWritingDirection), Selector="baseWritingDirectionAtLocation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EnumerateCaretOffsets", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDNSTextSelectionDataSourceEnumerateCaretOffsetsDelegate) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextSelectionDataSourceEnumerateCaretOffsetsDelegate) }, Selector="enumerateCaretOffsetsInLineFragmentAtLocation:usingBlock:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetLineFragmentRange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint), typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextRange), Selector="lineFragmentRangeForPoint:inContainerAtLocation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EnumerateContainerBoundaries", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDNSTextSelectionDataSourceEnumerateContainerBoundariesDelegate) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(System.Boolean), typeof(AppKit.NSTextSelectionDataSourceEnumerateContainerBoundariesDelegate) }, Selector="enumerateContainerBoundariesFromLocation:reverse:usingBlock:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetTextLayoutOrientation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextSelectionNavigationLayoutOrientation), Selector="textLayoutOrientationAtLocation:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="documentRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="DocumentRange", PropertyType=typeof(AppKit.NSTextRange), Selector="documentRange")]
public interface INSTextSelectionDataSource : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextSelectionDataSource", WrapperType=typeof(AppKit.NSTextSelectionDataSourceWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EnumerateSubstrings", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDNSTextSelectionDataSourceEnumerateSubstringsDelegate) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(Foundation.NSStringEnumerationOptions), typeof(AppKit.NSTextSelectionDataSourceEnumerateSubstringsDelegate) }, Selector="enumerateSubstringsFromLocation:options:usingBlock:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetTextRange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionGranularity), typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextRange), Selector="textRangeForSelectionGranularity:enclosingLocation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetLocation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(System.IntPtr) }, ReturnType=typeof(AppKit.INSTextLocation), Selector="locationFromLocation:withOffset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetOffsetFromLocation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(AppKit.INSTextLocation) }, ReturnType=typeof(System.IntPtr), Selector="offsetFromLocation:toLocation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetBaseWritingDirection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextSelectionNavigationWritingDirection), Selector="baseWritingDirectionAtLocation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EnumerateCaretOffsets", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDNSTextSelectionDataSourceEnumerateCaretOffsetsDelegate) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextSelectionDataSourceEnumerateCaretOffsetsDelegate) }, Selector="enumerateCaretOffsetsInLineFragmentAtLocation:usingBlock:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetLineFragmentRange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint), typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextRange), Selector="lineFragmentRangeForPoint:inContainerAtLocation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EnumerateContainerBoundaries", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDNSTextSelectionDataSourceEnumerateContainerBoundariesDelegate) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation), typeof(System.Boolean), typeof(AppKit.NSTextSelectionDataSourceEnumerateContainerBoundariesDelegate) }, Selector="enumerateContainerBoundariesFromLocation:reverse:usingBlock:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetTextLayoutOrientation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.INSTextLocation) }, ReturnType=typeof(AppKit.NSTextSelectionNavigationLayoutOrientation), Selector="textLayoutOrientationAtLocation:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="documentRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="DocumentRange", PropertyType=typeof(AppKit.NSTextRange), Selector="documentRange")>]
type INSTextSelectionDataSource = 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.

Applies to