NSLayoutManager NSLayoutManager Class

Definition

Responsible for layout of text stored in a NSTextStorage object.

[Foundation.Register("NSLayoutManager", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public class NSLayoutManager : Foundation.NSObject, Foundation.INSCoding, IDisposable
type NSLayoutManager = class
    inherit NSObject
    interface INSCoding
    interface INativeObject
    interface IDisposable
Inheritance
NSLayoutManagerNSLayoutManager
Attributes
Implements

Remarks

iOS 7 introduced "Text Kit," a broad set of APIs and modifications of existing classes, built on N:CoreText, that greatly expands the typographical flexibility of iOS.

The NSLayoutManager's TextStorage property holds a reference to a NSTextStorage object, that holds a potentially large amount of styled text. The NSLayoutManager's P:UIKit.NSLayoutManager.NSTextContainers property holds an ordered array of NSTextContainer objects in which it lays out text. The NSTextContainers, in turn, hold references to UITextView objects, which actually display the text.

Constructors

NSLayoutManager() NSLayoutManager()

Default constructor, initializes a new instance of this class.

NSLayoutManager(IntPtr) NSLayoutManager(IntPtr)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

NSLayoutManager(NSCoder) NSLayoutManager(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

NSLayoutManager(NSObjectFlag) NSLayoutManager(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

Properties

AllowsNonContiguousLayout AllowsNonContiguousLayout

Whether layout can be done for a portion of the document without laying-out being recalculated from the beginning.

Class Class Inherited from NSObject
ClassHandle ClassHandle

The handle for this class.

DebugDescription DebugDescription

A developer-meaningful description of this object.

(Inherited from NSObject)
Delegate Delegate

An instance of the UIKit.INSLayoutManagerDelegate model class which acts as the class delegate.

Description Description

Description of the object, the Objective-C version of ToString.

(Inherited from NSObject)
ExtraLineFragmentRect ExtraLineFragmentRect

The RectangleF needed for the insertion point.

ExtraLineFragmentTextContainer ExtraLineFragmentTextContainer

The NSTextContainer containing the ExtraLineFragmentRect.

ExtraLineFragmentUsedRect ExtraLineFragmentUsedRect

The rectangle enclosing the insertion point.

FirstUnlaidCharacterIndex FirstUnlaidCharacterIndex

The index of the first character that has not been laid out.

FirstUnlaidGlyphIndex FirstUnlaidGlyphIndex

The index of the first glyph that has not been laid out.

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasNonContiguousLayout HasNonContiguousLayout

Whether the NSLayoutManager currently contains any areas of noncontiguous layout.

HyphenationFactor HyphenationFactor

The hyphenation threshold.

IsDirectBinding IsDirectBinding Inherited from NSObject
IsProxy IsProxy Inherited from NSObject
LimitsLayoutForSuspiciousContents LimitsLayoutForSuspiciousContents
NumberOfGlyphs NumberOfGlyphs

The number of glyphs in the NSLayoutManager.

RetainCount RetainCount

Returns the current Objective-C retain count for the object.

(Inherited from NSObject)
Self Self Inherited from NSObject
ShowsControlCharacters ShowsControlCharacters

Specifies whether control characters should be shown or not.

ShowsInvisibleCharacters ShowsInvisibleCharacters

Specifies whether normally-invisible characters such as whitespace should have visible glyphs.

Superclass Superclass Inherited from NSObject
SuperHandle SuperHandle

Handle used to represent the methods in the base class for this NSObject.

(Inherited from NSObject)
TextContainers TextContainers

An array of NSTextContainers that model the geometric layout of a document.

TextStorage TextStorage

The NSTextStorage that holds the styled text to be laid out.

UsesFontLeading UsesFontLeading

Whether the NSLayoutManager should use the leading provided in the font.

WeakDelegate WeakDelegate

An object that can respond to the delegate protocol for this type

Zone Zone Inherited from NSObject

Methods

AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using NSString keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using string keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>) AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>) AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddTextContainer(NSTextContainer) AddTextContainer(NSTextContainer)

Appends a NSTextContainer to the TextContainers property.

AttachmentSizeForGlyphAtIndex(nuint) AttachmentSizeForGlyphAtIndex(nuint)

The size of the attachment cell associated with the glyph at the specified index

AwakeFromNib() AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().

(Inherited from NSObject)
BeginInvokeOnMainThread(Action) BeginInvokeOnMainThread(Action) Inherited from NSObject
BeginInvokeOnMainThread(Selector, NSObject) BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
Bind(NSString, NSObject, String, NSDictionary) Bind(NSString, NSObject, String, NSDictionary) Inherited from NSObject
Bind(String, NSObject, String, NSDictionary) Bind(String, NSObject, String, NSDictionary) Inherited from NSObject
BindingInfo(String) BindingInfo(String) Inherited from NSObject
BindingOptionDescriptions(String) BindingOptionDescriptions(String) Inherited from NSObject
BindingValueClass(String) BindingValueClass(String) Inherited from NSObject
BoundingRectForGlyphRange(NSRange, NSTextContainer) BoundingRectForGlyphRange(NSRange, NSTextContainer)

The bounding rectangle, in container coordinates, for the glyphs in the specified range.

CharacterIndexForGlyphAtIndex(nuint) CharacterIndexForGlyphAtIndex(nuint)

The index of the first character associated with the glyph at the specified index.

CharacterIndexForPoint(CGPoint, NSTextContainer, nfloat) CharacterIndexForPoint(CGPoint, NSTextContainer, nfloat)

Gets the index of the character at in .

CharacterRangeForGlyphRange(NSRange) CharacterRangeForGlyphRange(NSRange)

The range of characters that generated the glyphs in the specified glyph range.

CharacterRangeForGlyphRange(NSRange, NSRange) CharacterRangeForGlyphRange(NSRange, NSRange)

The range of characters that generated the specified glyph range.

CommitEditing() CommitEditing() Inherited from NSObject
CommitEditing(NSObject, Selector, IntPtr) CommitEditing(NSObject, Selector, IntPtr) Inherited from NSObject
ConformsToProtocol(IntPtr) ConformsToProtocol(IntPtr)

Invoked to determine if this object implements the specified protocol.

(Inherited from NSObject)
Copy() Copy()

Performs a copy of the underlying Objective-C object.

(Inherited from NSObject)
DangerousAutorelease() DangerousAutorelease() Inherited from NSObject
DangerousRelease() DangerousRelease() Inherited from NSObject
DangerousRetain() DangerousRetain() Inherited from NSObject
DidChange(NSKeyValueChange, NSIndexSet, NSString) DidChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates a change occurred to the indexes for a to-many relationship.

(Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) DidChange(NSString, NSKeyValueSetMutationKind, NSSet) Inherited from NSObject
DidChangeValue(String) DidChangeValue(String)

Indicates that a change occurred on the specified key.

(Inherited from NSObject)
Dispose() Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean) Dispose(Boolean)

Releases the resources used by the NSLayoutManager object.

DoesNotRecognizeSelector(Selector) DoesNotRecognizeSelector(Selector)

Indicates that this object does not recognize the specified selector.

(Inherited from NSObject)
DrawBackgroundForGlyphRange(NSRange, CGPoint) DrawBackgroundForGlyphRange(NSRange, CGPoint)

Draws background marks for the given glyph range.

DrawGlyphs(NSRange, CGPoint) DrawGlyphs(NSRange, CGPoint)

Draws the specified glyph range.

DrawsOutsideLineFragmentForGlyphAtIndex(nuint) DrawsOutsideLineFragmentForGlyphAtIndex(nuint)

Returns true if the specified glyph draws outside of its line fragment rectangle.

DrawStrikethrough(NSRange, NSUnderlineStyle, nfloat, CGRect, NSRange, CGPoint) DrawStrikethrough(NSRange, NSUnderlineStyle, nfloat, CGRect, NSRange, CGPoint)

Draws a strikethrough line through the glyphs in .

DrawUnderline(NSRange, NSUnderlineStyle, nfloat, CGRect, NSRange, CGPoint) DrawUnderline(NSRange, NSUnderlineStyle, nfloat, CGRect, NSRange, CGPoint)

Underlines the glyphs in .

EncodeTo(NSCoder) EncodeTo(NSCoder)

Encodes the state of the object on the provided encoder

EnsureGlyphsForCharacterRange(NSRange) EnsureGlyphsForCharacterRange(NSRange)

Forces the NSLayoutManager to generate glyphs for the specified characters, if it has not already done so.

EnsureGlyphsForGlyphRange(NSRange) EnsureGlyphsForGlyphRange(NSRange)

Forces the NSLayoutManager to generate glyphs for the specified glyph range, if it has not already done so.

EnsureLayoutForBoundingRect(CGRect, NSTextContainer) EnsureLayoutForBoundingRect(CGRect, NSTextContainer)

Forces the layout manager to perform layout on within .

EnsureLayoutForCharacterRange(NSRange) EnsureLayoutForCharacterRange(NSRange)

Forces the NSLayoutManager to layout the specified characters, if it has not already done so.

EnsureLayoutForGlyphRange(NSRange) EnsureLayoutForGlyphRange(NSRange)

Forces the NSLayoutManager to layout the specified glyphs, if it has not already done so.

EnsureLayoutForTextContainer(NSTextContainer) EnsureLayoutForTextContainer(NSTextContainer)

Forces the NSLayoutManager to layout the specified NSTextContainer, if it has not already done so.

EnumerateEnclosingRects(NSRange, NSRange, NSTextContainer, NSTextLayoutEnumerateEnclosingRects) EnumerateEnclosingRects(NSRange, NSRange, NSTextContainer, NSTextLayoutEnumerateEnclosingRects)

Enumerates the enclosing rectangles for the specified glyph range.

EnumerateLineFragments(NSRange, NSTextLayoutEnumerateLineFragments) EnumerateLineFragments(NSRange, NSTextLayoutEnumerateLineFragments)

Enumerate the line fragments intersecting with the specified glyph range.|Enumerate the line fragments intersecting with the specified glyph rane.

Equals(NSObject) Equals(NSObject) Inherited from NSObject
Equals(Object) Equals(Object) Inherited from NSObject
ExposedBindings() ExposedBindings() Inherited from NSObject
FractionOfDistanceThroughGlyphForPoint(CGPoint, NSTextContainer) FractionOfDistanceThroughGlyphForPoint(CGPoint, NSTextContainer)

Developers should call GlyphIndexForPoint(CGPoint, NSTextContainer) rather than this primitive function.

GetBindingInfo(NSString) GetBindingInfo(NSString) Inherited from NSObject
GetBindingOptionDescriptions(NSString) GetBindingOptionDescriptions(NSString) Inherited from NSObject
GetBindingValueClass(NSString) GetBindingValueClass(NSString) Inherited from NSObject
GetDictionaryOfValuesFromKeys(NSString[]) GetDictionaryOfValuesFromKeys(NSString[])

Retrieves the values of the specified keys.

(Inherited from NSObject)
GetFirstUnlaidCharacterIndex(nuint, nuint) GetFirstUnlaidCharacterIndex(nuint, nuint)

The indices of the first character and glyph that are not laid out.

GetGlyph(nuint) GetGlyph(nuint)

Retrieves the glyph at .

GetGlyph(nuint, Boolean) GetGlyph(nuint, Boolean)

Retrieves the glyph as , setting to true if the index is valid.

GetGlyphRange(NSTextContainer) GetGlyphRange(NSTextContainer)

The range of glyph indices contained in the specified NSTextContainer.

GetGlyphs(NSRange, Int16[], NSGlyphProperty[], nuint[], Byte[]) GetGlyphs(NSRange, Int16[], NSGlyphProperty[], nuint[], Byte[])

Fills with the glyphs in .

GetHashCode() GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, nfloat[], nint[]) GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, nfloat[], nint[])

Fills and with the positions and indices of the insertion points for a line fragment.

GetLineFragmentRect(nuint, NSRange, Boolean) GetLineFragmentRect(nuint, NSRange, Boolean)

Gets the line fragment CGRect containing the glyph at , with the option of not triggering layout.

GetLineFragmentUsedRect(nuint, NSRange, Boolean) GetLineFragmentUsedRect(nuint, NSRange, Boolean)

Gets the usage CGRect containing the glyph at , with the option of not triggering layout.

GetMethodForSelector(Selector) GetMethodForSelector(Selector) Inherited from NSObject
GetNativeField(String) GetNativeField(String) Inherited from NSObject
GetNativeHash() GetNativeHash() Inherited from NSObject
GetTextContainer(nuint, NSRange, Boolean) GetTextContainer(nuint, NSRange, Boolean)

Gets the NSTextContainer containing the glyph at , with the option of not triggering layout.

GetUsedRectForTextContainer(NSTextContainer) GetUsedRectForTextContainer(NSTextContainer)

The bounding rectangle in the NSTextContainer's coordinates of the laid out glyphs in the NSTextContainer.

GlyphAtIndex(nuint) GlyphAtIndex(nuint)

M:UIKit.NSLayoutManager.GetGlyph*

GlyphAtIndex(nuint, Boolean) GlyphAtIndex(nuint, Boolean)

M:UIKit.NSLayoutManager.GetGlyph*

GlyphIndexForCharacterAtIndex(nuint) GlyphIndexForCharacterAtIndex(nuint)

The glyph index for the character at the specified index.

GlyphIndexForPoint(CGPoint, NSTextContainer) GlyphIndexForPoint(CGPoint, NSTextContainer)

Developers should call GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat) rather than this primitive method.

GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat) GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat)

The glyph index for the glyph at , in the object's coordinate system.

GlyphRangeForBoundingRect(CGRect, NSTextContainer) GlyphRangeForBoundingRect(CGRect, NSTextContainer)

Returns the range of glyph indices that are at least partially in the .

GlyphRangeForBoundingRectWithoutAdditionalLayout(CGRect, NSTextContainer) GlyphRangeForBoundingRectWithoutAdditionalLayout(CGRect, NSTextContainer)

Returns the range of glyph indices that are at least partially in the without glyph production or layout.

GlyphRangeForCharacterRange(NSRange) GlyphRangeForCharacterRange(NSRange)

The range of glyphs generated for the specified characters.

GlyphRangeForCharacterRange(NSRange, NSRange) GlyphRangeForCharacterRange(NSRange, NSRange)

The range of glyphs generated for the specified characters.

Init() Init() Inherited from NSObject
InitializeHandle(IntPtr) InitializeHandle(IntPtr) Inherited from NSObject
InitializeHandle(IntPtr, String) InitializeHandle(IntPtr, String) Inherited from NSObject
InsertTextContainer(NSTextContainer, nint) InsertTextContainer(NSTextContainer, nint)

Inserts the specified NSTextContainer into TextContainers at the specified index.

InvalidateDisplayForCharacterRange(NSRange) InvalidateDisplayForCharacterRange(NSRange)

Invalidates the display for the given character range.

InvalidateDisplayForGlyphRange(NSRange) InvalidateDisplayForGlyphRange(NSRange)

Invalidates the display for the given glyph range.

InvalidateGlyphs(NSRange, nint, NSRange) InvalidateGlyphs(NSRange, nint, NSRange)

Invalidates the glyphs in the .

InvalidateLayout(NSRange, NSRange) InvalidateLayout(NSRange, NSRange)

Invalidates the layout for the specified character range. Does not automatically trigger re-layout.

Invoke(Action, Double) Invoke(Action, Double) Inherited from NSObject
Invoke(Action, TimeSpan) Invoke(Action, TimeSpan) Inherited from NSObject
InvokeOnMainThread(Action) InvokeOnMainThread(Action) Inherited from NSObject
InvokeOnMainThread(Selector, NSObject) InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsEqual(NSObject) IsEqual(NSObject) Inherited from NSObject
IsKindOfClass(Class) IsKindOfClass(Class) Inherited from NSObject
IsMemberOfClass(Class) IsMemberOfClass(Class) Inherited from NSObject
IsValidGlyphIndex(nuint) IsValidGlyphIndex(nuint)

Whether the glyphIndex specifies a valid glyph.

LineFragmentRectForGlyphAtIndex(nuint) LineFragmentRectForGlyphAtIndex(nuint)

The RectangleF enclosing the line fragment in which the given glyph is laid out.

LineFragmentRectForGlyphAtIndex(nuint, NSRange) LineFragmentRectForGlyphAtIndex(nuint, NSRange)

Returns the rectangle for the line fragment in which the glyph at is laid out.

LineFragmentUsedRectForGlyphAtIndex(nuint) LineFragmentUsedRectForGlyphAtIndex(nuint)

The RectangleF enclosing the line fragment for the glyph at the specified glyphIndex.

LineFragmentUsedRectForGlyphAtIndex(nuint, NSRange) LineFragmentUsedRectForGlyphAtIndex(nuint, NSRange)

Returns the usage rectangle for the line fragment in which the glyph at is laid out.

LocationForGlyphAtIndex(nuint) LocationForGlyphAtIndex(nuint)

The location of the glyph at the specified index, relative to the containing line fragment's origin.

MarkDirty() MarkDirty()

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

(Inherited from NSObject)
MutableCopy() MutableCopy()

Creates a mutable copy of the specified NSObject.

(Inherited from NSObject)
NotShownAttributeForGlyphAtIndex(nuint) NotShownAttributeForGlyphAtIndex(nuint)

Whether the glyph at the specified index is shown.

ObjectDidEndEditing(NSObject) ObjectDidEndEditing(NSObject) Inherited from NSObject
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

Indicates that the value at the specified keyPath relative to this object has changed.

(Inherited from NSObject)
PerformSelector(Selector) PerformSelector(Selector) Inherited from NSObject
PerformSelector(Selector, NSObject) PerformSelector(Selector, NSObject) Inherited from NSObject
PerformSelector(Selector, NSObject, Double) PerformSelector(Selector, NSObject, Double)

Invokes the selector on the current instance and if the obj is not null, it passes this as its single parameter.

(Inherited from NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) PerformSelector(Selector, NSObject, Double, NSString[]) Inherited from NSObject
PerformSelector(Selector, NSObject, NSObject) PerformSelector(Selector, NSObject, NSObject) Inherited from NSObject
PerformSelector(Selector, NSThread, NSObject, Boolean) PerformSelector(Selector, NSThread, NSObject, Boolean) Inherited from NSObject
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) Inherited from NSObject
PrepareForInterfaceBuilder() PrepareForInterfaceBuilder() Inherited from NSObject
ProcessEditing(NSTextStorage, NSTextStorageEditActions, NSRange, nint, NSRange) ProcessEditing(NSTextStorage, NSTextStorageEditActions, NSRange, nint, NSRange)

Notifies the NSLayoutManager of an edit action.

PropertyForGlyphAtIndex(nuint) PropertyForGlyphAtIndex(nuint)

The NSGlyphProperty for the glyph at the specified index.

RangeOfNominallySpacedGlyphsContainingIndex(nuint) RangeOfNominallySpacedGlyphsContainingIndex(nuint)

The largest range of glyphs surrounding the glyph at the specified index that can be displayed using only advancement, not pairwise kerning or other adjustments.

RemoveObserver(NSObject, NSString) RemoveObserver(NSObject, NSString)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, NSString, IntPtr) RemoveObserver(NSObject, NSString, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveObserver(NSObject, String) RemoveObserver(NSObject, String)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr) RemoveObserver(NSObject, String, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveTextContainer(nint) RemoveTextContainer(nint)

Removes the specified NSTextContainer from the TextContainers array. Invalidates layout as necessary.

RespondsToSelector(Selector) RespondsToSelector(Selector)

Whether this object recognizes the specified selector.

(Inherited from NSObject)
SetAttachmentSize(CGSize, NSRange) SetAttachmentSize(CGSize, NSRange)

Sets the size for the glyph to draw within the .

SetDrawsOutsideLineFragment(Boolean, nuint) SetDrawsOutsideLineFragment(Boolean, nuint)

Specifies whether the glyph at the specified index draws outside the bounds of its line segment.

SetExtraLineFragmentRect(CGRect, CGRect, NSTextContainer) SetExtraLineFragmentRect(CGRect, CGRect, NSTextContainer)

Sets the details for the extra line fragment required when the text back is either totally empty or ends with a hard line break.

SetGlyphs(IntPtr, IntPtr, IntPtr, UIFont, NSRange) SetGlyphs(IntPtr, IntPtr, IntPtr, UIFont, NSRange)

Specifies the initial glyphs and glyph properties for the specified character range.

SetLineFragmentRect(CGRect, NSRange, CGRect) SetLineFragmentRect(CGRect, NSRange, CGRect)

Associated the line fragment with bounds with the glyphs in .

SetLocation(CGPoint, NSRange) SetLocation(CGPoint, NSRange)

Sets the for the first glyph in .

SetNativeField(String, NSObject) SetNativeField(String, NSObject) Inherited from NSObject
SetNilValueForKey(NSString) SetNilValueForKey(NSString)

Sets the value of the specified key to null.

(Inherited from NSObject)
SetNotShownAttribute(Boolean, nuint) SetNotShownAttribute(Boolean, nuint)

Specifies that the glyph at the specified index should be marked as not shown.

SetTextContainer(NSTextContainer, NSRange) SetTextContainer(NSTextContainer, NSRange)

Sets the NSTextContainer for the specified glyph range.

SetValueForKey(NSObject, NSString) SetValueForKey(NSObject, NSString)

Sets the value of the property specified by the key to the specified value.

(Inherited from NSObject)
SetValueForKeyPath(IntPtr, NSString) SetValueForKeyPath(IntPtr, NSString)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

(Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString) SetValueForKeyPath(NSObject, NSString)

Sets the value of a property that can be reached using a keypath.

(Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString) SetValueForUndefinedKey(NSObject, NSString)

Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary) SetValuesForKeysWithDictionary(NSDictionary)

Sets the values of this NSObject to those in the specified dictionary.

(Inherited from NSObject)
ShowCGGlyphs(Int16[], CGPoint[], nuint, UIFont, CGAffineTransform, NSDictionary, CGContext) ShowCGGlyphs(Int16[], CGPoint[], nuint, UIFont, CGAffineTransform, NSDictionary, CGContext)

Renders at into .

Strikethrough(NSRange, NSUnderlineStyle, CGRect, NSRange, CGPoint) Strikethrough(NSRange, NSUnderlineStyle, CGRect, NSRange, CGPoint)

Draws a strikethrough through the glyphs at .

TextContainerChangedGeometry(NSTextContainer) TextContainerChangedGeometry(NSTextContainer)

Invalidates the layout information and glyphs for the specified NSTextContainer and any following.

TextContainerForGlyphAtIndex(nuint) TextContainerForGlyphAtIndex(nuint)

The NSTextContainer in which the specified glyph is laid out.

TextContainerForGlyphAtIndex(nuint, NSRange) TextContainerForGlyphAtIndex(nuint, NSRange)

Gets the NSTextContainer containing the glyph at .

ToString() ToString()

Returns a string representation of the value of the current instance.

(Inherited from NSObject)
TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(nuint) TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(nuint)

The range of truncated glyphs for a line fragment containing the specified index.

Unbind(NSString) Unbind(NSString) Inherited from NSObject
Unbind(String) Unbind(String) Inherited from NSObject
Underline(NSRange, NSUnderlineStyle, CGRect, NSRange, CGPoint) Underline(NSRange, NSUnderlineStyle, CGRect, NSRange, CGPoint)

Underlines the glyphs in .

ValueForKey(NSString) ValueForKey(NSString)

Returns the value of the property associated with the specified key.

(Inherited from NSObject)
ValueForKeyPath(NSString) ValueForKeyPath(NSString)

Returns the value of a property that can be reached using a keypath.

(Inherited from NSObject)
ValueForUndefinedKey(NSString) ValueForUndefinedKey(NSString)

Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString) WillChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates that the values of the specified indices in the specified key are about to change.

(Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) WillChange(NSString, NSKeyValueSetMutationKind, NSSet) Inherited from NSObject
WillChangeValue(String) WillChangeValue(String)

Indicates that the value of the specified key is about to change.

(Inherited from NSObject)

Extension Methods

GetDebugDescription(INSObjectProtocol) GetDebugDescription(INSObjectProtocol)
GetAccessibilityCustomRotors(NSObject) GetAccessibilityCustomRotors(NSObject)

Gets the array of UIAccessibilityCustomRotor objects appropriate for this object.

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[]) SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Sets the array of UIAccessibilityCustomRotor objects appropriate for this object.

Applies to

See also