TextFormattingParagraphProperties Class

Provides text formatting properties.

Inheritance Hierarchy

System.Object
  System.Windows.Media.TextFormatting.TextParagraphProperties
    Microsoft.VisualStudio.Text.Formatting.TextFormattingParagraphProperties

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Class TextFormattingParagraphProperties _
    Inherits TextParagraphProperties
public class TextFormattingParagraphProperties : TextParagraphProperties
public ref class TextFormattingParagraphProperties : public TextParagraphProperties
type TextFormattingParagraphProperties =  
    class
        inherit TextParagraphProperties
    end
public class TextFormattingParagraphProperties extends TextParagraphProperties

The TextFormattingParagraphProperties type exposes the following members.

Constructors

  Name Description
Public method TextFormattingParagraphProperties(TextFormattingRunProperties) Initializes a new instance of TextFormattingParagraphProperties.
Public method TextFormattingParagraphProperties(TextFormattingRunProperties, Double) Initializes a new instance of TextFormattingParagraphProperties.

Top

Properties

  Name Description
Public property AlwaysCollapsible Gets a value that indicates whether a formatted line can always be collapsed. (Inherited from TextParagraphProperties.)
Public property DefaultIncrementalTab Gets the default incremental tab. (Overrides TextParagraphProperties.DefaultIncrementalTab.)
Public property DefaultTextRunProperties Gets the default text run properties. (Overrides TextParagraphProperties.DefaultTextRunProperties.)
Public property FirstLineInParagraph Determines whether this is the first line in a paragraph. (Overrides TextParagraphProperties.FirstLineInParagraph.)
Public property FlowDirection Gets the flow direction. (Overrides TextParagraphProperties.FlowDirection.)
Public property Indent Gets the size of the indent. (Overrides TextParagraphProperties.Indent.)
Public property LineHeight Gets the line height. (Overrides TextParagraphProperties.LineHeight.)
Public property ParagraphIndent Gets the amount of the paragraph indentation. (Inherited from TextParagraphProperties.)
Public property Tabs Gets a collection of tab definitions. (Inherited from TextParagraphProperties.)
Public property TextAlignment Gets the text alignment. (Overrides TextParagraphProperties.TextAlignment.)
Public property TextDecorations Gets the collection of TextDecoration objects. (Inherited from TextParagraphProperties.)
Public property TextMarkerProperties Gets the text marker properties. (Overrides TextParagraphProperties.TextMarkerProperties.)
Public property TextWrapping Gets the text wrapping. (Overrides TextParagraphProperties.TextWrapping.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Formatting Namespace