Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
621 lines (621 sloc) 40.6 KB
<Type Name="NSLayoutManagerDelegate" FullName="UIKit.NSLayoutManagerDelegate">
<TypeSignature Language="C#" Value="public class NSLayoutManagerDelegate : Foundation.NSObject, IDisposable, UIKit.INSLayoutManagerDelegate" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit NSLayoutManagerDelegate extends Foundation.NSObject implements class ObjCRuntime.INativeObject, class System.IDisposable, class UIKit.INSLayoutManagerDelegate" />
<TypeSignature Language="DocId" Value="T:UIKit.NSLayoutManagerDelegate" />
<TypeSignature Language="F#" Value="type NSLayoutManagerDelegate = class&#xA; inherit NSObject&#xA; interface INSLayoutManagerDelegate&#xA; interface INativeObject&#xA; interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Foundation.NSObject</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>UIKit.INSLayoutManagerDelegate</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Model</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Protocol</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Register("NSLayoutManagerDelegate", false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A delegate object that exposes events for <see cref="T:UIKit.NSLayoutManager" />s.</summary>
<remarks>To be added.</remarks>
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/NSLayoutManagerDelegate_Protocol_TextKit/index.html">Apple documentation for <c>NSLayoutManagerDelegate</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NSLayoutManagerDelegate ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("init")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor, initializes a new instance of this class.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NSLayoutManagerDelegate (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.NSLayoutManagerDelegate : Foundation.NSObjectFlag -&gt; UIKit.NSLayoutManagerDelegate" Usage="new UIKit.NSLayoutManagerDelegate t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.</para>
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal NSLayoutManagerDelegate (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.NSLayoutManagerDelegate : nativeint -&gt; UIKit.NSLayoutManagerDelegate" Usage="new UIKit.NSLayoutManagerDelegate handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="BoundingBoxForControlGlyph">
<MemberSignature Language="C#" Value="public virtual CoreGraphics.CGRect BoundingBoxForControlGlyph (UIKit.NSLayoutManager layoutManager, nuint glyphIndex, UIKit.NSTextContainer textContainer, CoreGraphics.CGRect proposedRect, CoreGraphics.CGPoint glyphPosition, nuint charIndex);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype CoreGraphics.CGRect BoundingBoxForControlGlyph(class UIKit.NSLayoutManager layoutManager, valuetype System.nuint glyphIndex, class UIKit.NSTextContainer textContainer, valuetype CoreGraphics.CGRect proposedRect, valuetype CoreGraphics.CGPoint glyphPosition, valuetype System.nuint charIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.BoundingBoxForControlGlyph(UIKit.NSLayoutManager,System.nuint,UIKit.NSTextContainer,CoreGraphics.CGRect,CoreGraphics.CGPoint,System.nuint)" />
<MemberSignature Language="F#" Value="abstract member BoundingBoxForControlGlyph : UIKit.NSLayoutManager * nuint * UIKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint * nuint -&gt; CoreGraphics.CGRect&#xA;override this.BoundingBoxForControlGlyph : UIKit.NSLayoutManager * nuint * UIKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint * nuint -&gt; CoreGraphics.CGRect" Usage="nSLayoutManagerDelegate.BoundingBoxForControlGlyph (layoutManager, glyphIndex, textContainer, proposedRect, glyphPosition, charIndex)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>CoreGraphics.CGRect</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="glyphIndex" Type="System.nuint" />
<Parameter Name="textContainer" Type="UIKit.NSTextContainer" />
<Parameter Name="proposedRect" Type="CoreGraphics.CGRect" />
<Parameter Name="glyphPosition" Type="CoreGraphics.CGPoint" />
<Parameter Name="charIndex" Type="System.nuint" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="glyphIndex">To be added.</param>
<param name="textContainer">To be added.</param>
<param name="proposedRect">To be added.</param>
<param name="glyphPosition">To be added.</param>
<param name="charIndex">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DidChangeGeometry">
<MemberSignature Language="C#" Value="public virtual void DidChangeGeometry (UIKit.NSLayoutManager layoutManager, UIKit.NSTextContainer textContainer, CoreGraphics.CGSize oldSize);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DidChangeGeometry(class UIKit.NSLayoutManager layoutManager, class UIKit.NSTextContainer textContainer, valuetype CoreGraphics.CGSize oldSize) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.DidChangeGeometry(UIKit.NSLayoutManager,UIKit.NSTextContainer,CoreGraphics.CGSize)" />
<MemberSignature Language="F#" Value="abstract member DidChangeGeometry : UIKit.NSLayoutManager * UIKit.NSTextContainer * CoreGraphics.CGSize -&gt; unit&#xA;override this.DidChangeGeometry : UIKit.NSLayoutManager * UIKit.NSTextContainer * CoreGraphics.CGSize -&gt; unit" Usage="nSLayoutManagerDelegate.DidChangeGeometry (layoutManager, textContainer, oldSize)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:textContainer:didChangeGeometryFromSize:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="textContainer" Type="UIKit.NSTextContainer" />
<Parameter Name="oldSize" Type="CoreGraphics.CGSize" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="textContainer">To be added.</param>
<param name="oldSize">To be added.</param>
<summary>The geometry of <paramref name="textContainer" /> changed from <paramref name="oldSize" />, and <paramref name="layoutManager" /> will invalidate the layout.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DidCompleteLayout">
<MemberSignature Language="C#" Value="public virtual void DidCompleteLayout (UIKit.NSLayoutManager layoutManager, UIKit.NSTextContainer textContainer, bool layoutFinishedFlag);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DidCompleteLayout(class UIKit.NSLayoutManager layoutManager, class UIKit.NSTextContainer textContainer, bool layoutFinishedFlag) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.DidCompleteLayout(UIKit.NSLayoutManager,UIKit.NSTextContainer,System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member DidCompleteLayout : UIKit.NSLayoutManager * UIKit.NSTextContainer * bool -&gt; unit&#xA;override this.DidCompleteLayout : UIKit.NSLayoutManager * UIKit.NSTextContainer * bool -&gt; unit" Usage="nSLayoutManagerDelegate.DidCompleteLayout (layoutManager, textContainer, layoutFinishedFlag)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:didCompleteLayoutForTextContainer:atEnd:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="textContainer" Type="UIKit.NSTextContainer" />
<Parameter Name="layoutFinishedFlag" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="textContainer">To be added.</param>
<param name="layoutFinishedFlag">To be added.</param>
<summary>Indicates that the specified NSLayoutManager has finished laying out text in the specified text container.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DidInvalidatedLayout">
<MemberSignature Language="C#" Value="public virtual void DidInvalidatedLayout (UIKit.NSLayoutManager sender);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DidInvalidatedLayout(class UIKit.NSLayoutManager sender) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.DidInvalidatedLayout(UIKit.NSLayoutManager)" />
<MemberSignature Language="F#" Value="abstract member DidInvalidatedLayout : UIKit.NSLayoutManager -&gt; unit&#xA;override this.DidInvalidatedLayout : UIKit.NSLayoutManager -&gt; unit" Usage="nSLayoutManagerDelegate.DidInvalidatedLayout sender" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManagerDidInvalidateLayout:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sender" Type="UIKit.NSLayoutManager" />
</Parameters>
<Docs>
<param name="sender">To be added.</param>
<summary>Indicates that the NSLayoutManager has invalidated layout information (not glyph information).</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LineSpacingAfterGlyphAtIndex">
<MemberSignature Language="C#" Value="public virtual nfloat LineSpacingAfterGlyphAtIndex (UIKit.NSLayoutManager layoutManager, nuint glyphIndex, CoreGraphics.CGRect rect);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.nfloat LineSpacingAfterGlyphAtIndex(class UIKit.NSLayoutManager layoutManager, valuetype System.nuint glyphIndex, valuetype CoreGraphics.CGRect rect) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.LineSpacingAfterGlyphAtIndex(UIKit.NSLayoutManager,System.nuint,CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="abstract member LineSpacingAfterGlyphAtIndex : UIKit.NSLayoutManager * nuint * CoreGraphics.CGRect -&gt; nfloat&#xA;override this.LineSpacingAfterGlyphAtIndex : UIKit.NSLayoutManager * nuint * CoreGraphics.CGRect -&gt; nfloat" Usage="nSLayoutManagerDelegate.LineSpacingAfterGlyphAtIndex (layoutManager, glyphIndex, rect)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="glyphIndex" Type="System.nuint" />
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="glyphIndex">To be added.</param>
<param name="rect">To be added.</param>
<summary>The line spacing after the line ending with the specified glyph index.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ParagraphSpacingAfterGlyphAtIndex">
<MemberSignature Language="C#" Value="public virtual nfloat ParagraphSpacingAfterGlyphAtIndex (UIKit.NSLayoutManager layoutManager, nuint glyphIndex, CoreGraphics.CGRect rect);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.nfloat ParagraphSpacingAfterGlyphAtIndex(class UIKit.NSLayoutManager layoutManager, valuetype System.nuint glyphIndex, valuetype CoreGraphics.CGRect rect) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ParagraphSpacingAfterGlyphAtIndex(UIKit.NSLayoutManager,System.nuint,CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="abstract member ParagraphSpacingAfterGlyphAtIndex : UIKit.NSLayoutManager * nuint * CoreGraphics.CGRect -&gt; nfloat&#xA;override this.ParagraphSpacingAfterGlyphAtIndex : UIKit.NSLayoutManager * nuint * CoreGraphics.CGRect -&gt; nfloat" Usage="nSLayoutManagerDelegate.ParagraphSpacingAfterGlyphAtIndex (layoutManager, glyphIndex, rect)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="glyphIndex" Type="System.nuint" />
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="glyphIndex">To be added.</param>
<param name="rect">To be added.</param>
<summary>The paragraph spacing after the line ending with the specified glyph index.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ParagraphSpacingBeforeGlyphAtIndex">
<MemberSignature Language="C#" Value="public virtual nfloat ParagraphSpacingBeforeGlyphAtIndex (UIKit.NSLayoutManager layoutManager, nuint glyphIndex, CoreGraphics.CGRect rect);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.nfloat ParagraphSpacingBeforeGlyphAtIndex(class UIKit.NSLayoutManager layoutManager, valuetype System.nuint glyphIndex, valuetype CoreGraphics.CGRect rect) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ParagraphSpacingBeforeGlyphAtIndex(UIKit.NSLayoutManager,System.nuint,CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="abstract member ParagraphSpacingBeforeGlyphAtIndex : UIKit.NSLayoutManager * nuint * CoreGraphics.CGRect -&gt; nfloat&#xA;override this.ParagraphSpacingBeforeGlyphAtIndex : UIKit.NSLayoutManager * nuint * CoreGraphics.CGRect -&gt; nfloat" Usage="nSLayoutManagerDelegate.ParagraphSpacingBeforeGlyphAtIndex (layoutManager, glyphIndex, rect)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="glyphIndex" Type="System.nuint" />
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="glyphIndex">To be added.</param>
<param name="rect">To be added.</param>
<summary>The paragraph spacing before the line starting with the specified glyph index.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldBreakLineByHyphenatingBeforeCharacter">
<MemberSignature Language="C#" Value="public virtual bool ShouldBreakLineByHyphenatingBeforeCharacter (UIKit.NSLayoutManager layoutManager, nuint charIndex);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ShouldBreakLineByHyphenatingBeforeCharacter(class UIKit.NSLayoutManager layoutManager, valuetype System.nuint charIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ShouldBreakLineByHyphenatingBeforeCharacter(UIKit.NSLayoutManager,System.nuint)" />
<MemberSignature Language="F#" Value="abstract member ShouldBreakLineByHyphenatingBeforeCharacter : UIKit.NSLayoutManager * nuint -&gt; bool&#xA;override this.ShouldBreakLineByHyphenatingBeforeCharacter : UIKit.NSLayoutManager * nuint -&gt; bool" Usage="nSLayoutManagerDelegate.ShouldBreakLineByHyphenatingBeforeCharacter (layoutManager, charIndex)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="charIndex" Type="System.nuint" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="charIndex">To be added.</param>
<summary>Whether a line should break with a hyphen at the specified point. Called frequently.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldBreakLineByWordBeforeCharacter">
<MemberSignature Language="C#" Value="public virtual bool ShouldBreakLineByWordBeforeCharacter (UIKit.NSLayoutManager layoutManager, nuint charIndex);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ShouldBreakLineByWordBeforeCharacter(class UIKit.NSLayoutManager layoutManager, valuetype System.nuint charIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ShouldBreakLineByWordBeforeCharacter(UIKit.NSLayoutManager,System.nuint)" />
<MemberSignature Language="F#" Value="abstract member ShouldBreakLineByWordBeforeCharacter : UIKit.NSLayoutManager * nuint -&gt; bool&#xA;override this.ShouldBreakLineByWordBeforeCharacter : UIKit.NSLayoutManager * nuint -&gt; bool" Usage="nSLayoutManagerDelegate.ShouldBreakLineByWordBeforeCharacter (layoutManager, charIndex)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="charIndex" Type="System.nuint" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="charIndex">To be added.</param>
<summary>Whether a line should have a soft line break. Called frequently.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldGenerateGlyphs">
<MemberSignature Language="C#" Value="public virtual nuint ShouldGenerateGlyphs (UIKit.NSLayoutManager layoutManager, IntPtr glyphBuffer, IntPtr props, IntPtr charIndexes, UIKit.UIFont aFont, Foundation.NSRange glyphRange);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.nuint ShouldGenerateGlyphs(class UIKit.NSLayoutManager layoutManager, native int glyphBuffer, native int props, native int charIndexes, class UIKit.UIFont aFont, valuetype Foundation.NSRange glyphRange) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ShouldGenerateGlyphs(UIKit.NSLayoutManager,System.IntPtr,System.IntPtr,System.IntPtr,UIKit.UIFont,Foundation.NSRange)" />
<MemberSignature Language="F#" Value="abstract member ShouldGenerateGlyphs : UIKit.NSLayoutManager * nativeint * nativeint * nativeint * UIKit.UIFont * Foundation.NSRange -&gt; nuint&#xA;override this.ShouldGenerateGlyphs : UIKit.NSLayoutManager * nativeint * nativeint * nativeint * UIKit.UIFont * Foundation.NSRange -&gt; nuint" Usage="nSLayoutManagerDelegate.ShouldGenerateGlyphs (layoutManager, glyphBuffer, props, charIndexes, aFont, glyphRange)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nuint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="glyphBuffer" Type="System.IntPtr" />
<Parameter Name="props" Type="System.IntPtr" />
<Parameter Name="charIndexes" Type="System.IntPtr" />
<Parameter Name="aFont" Type="UIKit.UIFont" />
<Parameter Name="glyphRange" Type="Foundation.NSRange" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="glyphBuffer">To be added.</param>
<param name="props">To be added.</param>
<param name="charIndexes">To be added.</param>
<param name="aFont">To be added.</param>
<param name="glyphRange">To be added.</param>
<summary>When overridden, allows the app developer to customize the initial glyph generation process.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldSetLineFragmentRect">
<MemberSignature Language="C#" Value="public virtual bool ShouldSetLineFragmentRect (UIKit.NSLayoutManager layoutManager, ref CoreGraphics.CGRect lineFragmentRect, ref CoreGraphics.CGRect lineFragmentUsedRect, ref nfloat baselineOffset, UIKit.NSTextContainer textContainer, Foundation.NSRange glyphRange);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ShouldSetLineFragmentRect(class UIKit.NSLayoutManager layoutManager, valuetype CoreGraphics.CGRect&amp; lineFragmentRect, valuetype CoreGraphics.CGRect&amp; lineFragmentUsedRect, valuetype System.nfloat&amp; baselineOffset, class UIKit.NSTextContainer textContainer, valuetype Foundation.NSRange glyphRange) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ShouldSetLineFragmentRect(UIKit.NSLayoutManager,CoreGraphics.CGRect@,CoreGraphics.CGRect@,System.nfloat@,UIKit.NSTextContainer,Foundation.NSRange)" />
<MemberSignature Language="F#" Value="abstract member ShouldSetLineFragmentRect : UIKit.NSLayoutManager * * * * UIKit.NSTextContainer * Foundation.NSRange -&gt; bool&#xA;override this.ShouldSetLineFragmentRect : UIKit.NSLayoutManager * * * * UIKit.NSTextContainer * Foundation.NSRange -&gt; bool" Usage="nSLayoutManagerDelegate.ShouldSetLineFragmentRect (layoutManager, lineFragmentRect, lineFragmentUsedRect, baselineOffset, textContainer, glyphRange)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="lineFragmentRect" Type="CoreGraphics.CGRect" RefType="ref" />
<Parameter Name="lineFragmentUsedRect" Type="CoreGraphics.CGRect" RefType="ref" />
<Parameter Name="baselineOffset" Type="System.nfloat" RefType="ref" />
<Parameter Name="textContainer" Type="UIKit.NSTextContainer" />
<Parameter Name="glyphRange" Type="Foundation.NSRange" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="lineFragmentRect">To be added.</param>
<param name="lineFragmentUsedRect">To be added.</param>
<param name="baselineOffset">To be added.</param>
<param name="textContainer">To be added.</param>
<param name="glyphRange">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldUseAction">
<MemberSignature Language="C#" Value="public virtual UIKit.NSControlCharacterAction ShouldUseAction (UIKit.NSLayoutManager layoutManager, UIKit.NSControlCharacterAction action, nuint charIndex);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype UIKit.NSControlCharacterAction ShouldUseAction(class UIKit.NSLayoutManager layoutManager, valuetype UIKit.NSControlCharacterAction action, valuetype System.nuint charIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.NSLayoutManagerDelegate.ShouldUseAction(UIKit.NSLayoutManager,UIKit.NSControlCharacterAction,System.nuint)" />
<MemberSignature Language="F#" Value="abstract member ShouldUseAction : UIKit.NSLayoutManager * UIKit.NSControlCharacterAction * nuint -&gt; UIKit.NSControlCharacterAction&#xA;override this.ShouldUseAction : UIKit.NSLayoutManager * UIKit.NSControlCharacterAction * nuint -&gt; UIKit.NSControlCharacterAction" Usage="nSLayoutManagerDelegate.ShouldUseAction (layoutManager, action, charIndex)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("layoutManager:shouldUseAction:forControlCharacterAtIndex:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.NSControlCharacterAction</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="layoutManager" Type="UIKit.NSLayoutManager" />
<Parameter Name="action" Type="UIKit.NSControlCharacterAction" />
<Parameter Name="charIndex" Type="System.nuint" />
</Parameters>
<Docs>
<param name="layoutManager">To be added.</param>
<param name="action">To be added.</param>
<param name="charIndex">To be added.</param>
<summary>The control character action for the control character at the specified index.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.