ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
Foundation.NSMutableParagraphStyle Class Reference

Simulates an iOS NSMutableParagraphStyle to ease the porting of UI code from iOS to Android. More...

Public Member Functions

 NSMutableParagraphStyle ()
 Initializes a new instance of the T:Foundation.NSMutableParagraphStyle class. More...
 

Properties

UITextAlignment Alignment [get, set]
 Gets or sets the alignment. More...
 
TextBlockAlignment VerticalAlignment = UITextAlignment.Left [get, set]
 Gets or sets the vertical alignment. This is an addition to the iOS version specific to working with Android apps. More...
 
bool AllowsDefaultTighteningForTruncation = TextBlockAlignment.Top [get, set]
 Gets or sets a value indicating whether this T:Foundation.NSMutableParagraphStyle allows default tightening for truncation. More...
 
NSWritingDirection BaseWritingDirection = true [get, set]
 Gets or sets the base writing direction. More...
 
nfloat DefaultTabInterval = NSWritingDirection.LeftToRight [get, set]
 Gets or sets the default tab interval. More...
 
nfloat FirstLineHeadIndent = 8f [get, set]
 Gets or sets the first line head indent. More...
 
nfloat HeadIndent = 0f [get, set]
 Gets or sets the head indent. More...
 
int HyphenationFactor = 0f [get, set]
 Gets or sets the hyphenation factor. More...
 
UILineBreakMode LineBreakMode = 1 [get, set]
 Gets or sets the line break mode. More...
 
nfloat LineHeightMultiple = UILineBreakMode.Clip [get, set]
 Gets or sets the line height multiple. More...
 
nfloat LineSpacing = 1f [get, set]
 Gets or sets the line spacing. More...
 
nfloat MaximumLineHeight = 5f [get, set]
 Gets or sets the maximum height of the line. More...
 
nfloat MinimumLineHeight = 1000f [get, set]
 Gets or sets the minimum height of the line. More...
 
nfloat ParagraphSpacing = 5f [get, set]
 Gets or sets the paragraph spacing. More...
 
nfloat ParagraphSpacingBefor = 10f [get, set]
 Gets or sets the paragraph spacing befor. More...
 
nfloat[] TabStops = 0f [get, set]
 Gets or sets the tab stops. More...
 
nfloat TailIndent [get, set]
 Gets or sets the tail indent. More...
 

Detailed Description

Simulates an iOS NSMutableParagraphStyle to ease the porting of UI code from iOS to Android.

Constructor & Destructor Documentation

Foundation.NSMutableParagraphStyle.NSMutableParagraphStyle ( )

Initializes a new instance of the T:Foundation.NSMutableParagraphStyle class.

Property Documentation

UITextAlignment Foundation.NSMutableParagraphStyle.Alignment
getset

Gets or sets the alignment.

The alignment.

bool Foundation.NSMutableParagraphStyle.AllowsDefaultTighteningForTruncation = TextBlockAlignment.Top
getset

Gets or sets a value indicating whether this T:Foundation.NSMutableParagraphStyle allows default tightening for truncation.

true if allows default tightening for truncation; otherwise, false.

NSWritingDirection Foundation.NSMutableParagraphStyle.BaseWritingDirection = true
getset

Gets or sets the base writing direction.

The base writing direction.

nfloat Foundation.NSMutableParagraphStyle.DefaultTabInterval = NSWritingDirection.LeftToRight
getset

Gets or sets the default tab interval.

The default tab interval.

nfloat Foundation.NSMutableParagraphStyle.FirstLineHeadIndent = 8f
getset

Gets or sets the first line head indent.

The first line head indent.

nfloat Foundation.NSMutableParagraphStyle.HeadIndent = 0f
getset

Gets or sets the head indent.

The head indent.

int Foundation.NSMutableParagraphStyle.HyphenationFactor = 0f
getset

Gets or sets the hyphenation factor.

The hyphenation factor.

UILineBreakMode Foundation.NSMutableParagraphStyle.LineBreakMode = 1
getset

Gets or sets the line break mode.

The line break mode.

nfloat Foundation.NSMutableParagraphStyle.LineHeightMultiple = UILineBreakMode.Clip
getset

Gets or sets the line height multiple.

The line height multiple.

nfloat Foundation.NSMutableParagraphStyle.LineSpacing = 1f
getset

Gets or sets the line spacing.

The line spacing.

nfloat Foundation.NSMutableParagraphStyle.MaximumLineHeight = 5f
getset

Gets or sets the maximum height of the line.

The maximum height of the line.

nfloat Foundation.NSMutableParagraphStyle.MinimumLineHeight = 1000f
getset

Gets or sets the minimum height of the line.

The minimum height of the line.

nfloat Foundation.NSMutableParagraphStyle.ParagraphSpacing = 5f
getset

Gets or sets the paragraph spacing.

The paragraph spacing.

nfloat Foundation.NSMutableParagraphStyle.ParagraphSpacingBefor = 10f
getset

Gets or sets the paragraph spacing befor.

The paragraph spacing befor.

nfloat [] Foundation.NSMutableParagraphStyle.TabStops = 0f
getset

Gets or sets the tab stops.

The tab stops.

nfloat Foundation.NSMutableParagraphStyle.TailIndent
getset

Gets or sets the tail indent.

The tail indent.

TextBlockAlignment Foundation.NSMutableParagraphStyle.VerticalAlignment = UITextAlignment.Left
getset

Gets or sets the vertical alignment. This is an addition to the iOS version specific to working with Android apps.

The vertical alignment.