Version

FirstLine Property

Gets/sets the indent for the first line in the paragraph from the left edge of the paragraph when the flow direction is left to right, otherwise the indent is from the right edge of the paragraph.
Syntax
'Declaration
 
Public Property FirstLine As Nullable(Of FirstLineIndentation)
public Nullable<FirstLineIndentation> FirstLine {get; set;}
Remarks

Note: a type converter is supplied to allow this structure to be specified in xaml. Here are some sample values, in quotes, along with corresponding c# code examples:

  • "75%" - new FirstLineIndentation(new Indentation(75), false)
  • "-75%" - new FirstLineIndentation(new Indentation(-75), false)
  • "25.5px" - new FirstLineIndentation(new Indentation(new Extent(25.5, ExtentUnitType.LogicalPixels)), false)
  • "75% hanging" - new FirstLineIndentation(new Indentation(75), true)
  • "-75% hanging" - new FirstLineIndentation(new Indentation(-75), true)
  • ".5in hanging" - new FirstLineIndentation(new Indentation(new Extent(.5, ExtentUnitType.Inches)), true)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also