xamarinmac
namespace AppKit
{
    [Protocol(Name = "NSTextFinderClient", WrapperType = typeof(NSTextFinderClientWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidReplaceCharacters", Selector = "didReplaceCharacters")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "StringLength", ReturnType = typeof(nuint), Selector = "stringLength")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ScrollRangeToVisible", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, Selector = "scrollRangeToVisible:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ReplaceCharactersInRangewithString", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSRange), typeof(string) }, Selector = "replaceCharactersInRange:withString:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DrawCharactersInRangeforContentView", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSRange), typeof(NSView) }, Selector = "drawCharactersInRange:forContentView:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "StringAtIndexeffectiveRangeendsWithSearchBoundary", ParameterByRef = new[] { false, true, false }, ParameterType = new[] { typeof(nuint), typeof(NSRange), typeof(bool) }, ReturnType = typeof(string), Selector = "stringAtIndex:effectiveRange:endsWithSearchBoundary:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ShouldReplaceCharactersInRangeswithStrings", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSArray), typeof(NSArray) }, ReturnType = typeof(bool), Selector = "shouldReplaceCharactersInRanges:withStrings:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ContentViewAtIndexeffectiveCharacterRange", ParameterByRef = new[] { false, true }, ParameterType = new[] { typeof(nuint), typeof(NSRange) }, ReturnType = typeof(NSView), Selector = "contentViewAtIndex:effectiveCharacterRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "RectsForCharacterRange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, ReturnType = typeof(NSArray), Selector = "rectsForCharacterRange:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "allowsMultipleSelection", IsProperty = true, IsRequired = true, IsStatic = false, Name = "AllowsMultipleSelection", PropertyType = typeof(bool), Selector = "allowsMultipleSelection")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isEditable", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Editable", PropertyType = typeof(bool), Selector = "editable")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "string", IsProperty = true, IsRequired = true, IsStatic = false, Name = "String", PropertyType = typeof(string), Selector = "string")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "firstSelectedRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "FirstSelectedRange", PropertyType = typeof(NSRange), Selector = "firstSelectedRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "visibleCharacterRanges", IsProperty = true, IsRequired = true, IsStatic = false, Name = "VisibleCharacterRanges", PropertyType = typeof(NSArray), Selector = "visibleCharacterRanges")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isSelectable", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Selectable", PropertyType = typeof(bool), Selector = "selectable")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "selectedRanges", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SelectedRanges", PropertyType = typeof(NSArray), Selector = "selectedRanges", SetterSelector = "setSelectedRanges:")]
    public interface INSTextFinderClient : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("scrollRangeToVisible:")]
        [Preserve(Conditional = true)]
        void ScrollRangeToVisible(NSRange range);
    }
}
Xamarin macOS 0.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

11/20/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙