net10.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTextLayoutManagerDelegate", WrapperType = typeof(NSTextLayoutManagerDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTextLayoutFragment", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextLayoutManager), typeof(INSTextLocation), typeof(NSTextElement) }, ReturnType = typeof(NSTextLayoutFragment), Selector = "textLayoutManager:textLayoutFragmentForLocation:inTextElement:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBreakLineBeforeLocation", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextLayoutManager), typeof(INSTextLocation), typeof(bool) }, ReturnType = typeof(bool), Selector = "textLayoutManager:shouldBreakLineBeforeLocation:hyphenating:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetRenderingAttributes", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextLayoutManager), typeof(NSObject), typeof(INSTextLocation), typeof(NSDictionary<NSString, NSObject>) }, ReturnType = typeof(NSDictionary<NSString, NSObject>), Selector = "textLayoutManager:renderingAttributesForLink:atLocation:defaultAttributes:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("ios")]
    public interface INSTextLayoutManagerDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("textLayoutManager:shouldBreakLineBeforeLocation:hyphenating:")]
        [OptionalMember]
        virtual bool ShouldBreakLineBeforeLocation(NSTextLayoutManager! textLayoutManager, INSTextLocation! location, bool hyphenating);
    }
}
.NET
10.0
Information specific to net10.0
Platforms This API is only available when you target a specific platform:
macOS
10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net10.0-macos14.2
Assembly

Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • macOS
  • tvOS
  • Built-in API
  • Package-provided API