iOS Guides | Samples

MonoTouch.UIKit.NSMutableParagraphStyle Class

A class that extends NSParagraphStyle to allow changing subattributes.

See Also: NSMutableParagraphStyle

Syntax

[MonoTouch.Foundation.Register("NSMutableParagraphStyle", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 6, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class NSMutableParagraphStyle : NSParagraphStyle

Remarks

The members of this class can be used from a background thread.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.NSMutableParagraphStyle are listed below.

See Also: NSParagraphStyle

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

override
AlignmentUITextAlignment. Text alignment.
override
AllowsDefaultTighteningForTruncationBoolean. Whether the system can try to tighten the text prior to truncating it.
override
BaseWritingDirectionNSWritingDirection. The norml writing direction.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
override
DefaultTabIntervalSingle. The value, in points, of tab intervals.
override
FirstLineHeadIndentSingle. The indentation of the paragraph's first line.
override
HeadIndentSingle. The indentation of the paragraph's lines, other than the first. (See NSMutableParagraphStyle.FirstLineHeadIndent.)
override
HyphenationFactorSingle. The paragraph's threshold for hyphenation.
override
LineBreakModeUILineBreakMode. The UILineBreakMode used by the paragraph.
override
LineHeightMultipleSingle. The natural line height of the paragraph is multiplied by this factor before constraint to minimum and maximum.
override
LineSpacingSingle. The distance, in points, between the bottom of one line fragment and the top of the next.
override
MaximumLineHeightSingle. The paragraph's maximum line height, in points.
override
MinimumLineHeightSingle. The minimum height, in points, of lines in the paragraph.
override
ParagraphSpacingSingle. Distance, in points, after the paragraph.
override
ParagraphSpacingBeforeSingle. Distance, in points, between a paragraph's top and its first line.
override
TabStopsNSTextTab[]. The paragraph's tab stops, sorted by location.
override
TailIndentSingle. The distance, in points, from the margin of a text container to the end of lines.

Public Methods

AddTabStop(NSTextTab)
Adds the specified NSTextTab to the pargraph style.
RemoveTabStop(NSTextTab)
Removes the tab stop .
SetParagraphStyle(NSParagraphStyle)
Replaces the existing style with .