C# Class XText.XParagraph

Represents a paragraph of text Paragraph is a block element
Inheritance: XBlock
ファイルを表示 Open project: JakeGinnivan/XText Class Usage Examples

Public Methods

Method Description
AddChild ( XInline child ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
XParagraph ( ) : System
XParagraph ( BlockStyle blockStyle = BlockStyle.Normal ) : System
XParagraph ( Func writeIf ) : System
XParagraph ( Func writeIf, BlockStyle blockStyle = BlockStyle.Normal ) : System
operator ( ) : bool

Protected Methods

Method Description
BuildDocumentInternal ( ) : System.Windows.Documents.Block
BuildElementInternal ( ) : FrameworkElement
Equals ( XParagraph other ) : bool
ToString ( bool formatted ) : string

Method Details

AddChild() public method

public AddChild ( XInline child ) : void
child XInline
return void

BuildDocumentInternal() protected method

protected BuildDocumentInternal ( ) : System.Windows.Documents.Block
return System.Windows.Documents.Block

BuildElementInternal() protected method

protected BuildElementInternal ( ) : FrameworkElement
return System.Windows.FrameworkElement

Equals() protected method

protected Equals ( XParagraph other ) : bool
other XParagraph
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() protected method

protected ToString ( bool formatted ) : string
formatted bool
return string

XParagraph() public method

public XParagraph ( ) : System
return System

XParagraph() public method

public XParagraph ( BlockStyle blockStyle = BlockStyle.Normal ) : System
blockStyle BlockStyle
return System

XParagraph() public method

public XParagraph ( Func writeIf ) : System
writeIf Func
return System

XParagraph() public method

public XParagraph ( Func writeIf, BlockStyle blockStyle = BlockStyle.Normal ) : System
writeIf Func
blockStyle BlockStyle
return System

operator() public static method

public static operator ( ) : bool
return bool