Class BreakAdv
Represents the BreakAdv class.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public class BreakAdv : Inline, INode
Examples
The following code example demonstrates how to add a break.
<RichTextBoxAdv:ParagraphAdv>
<!-- Add the line break. -->
<RichTextBoxAdv:BreakAdv Type="LineBreak"></RichTextBoxAdv:BreakAdv>
<!-- You can add any number of spans, images, comments and hyperlink fields here. -->
</RichTextBoxAdv:ParagraphAdv>
ParagraphAdv paragraph = new ParagraphAdv();
// Add the line break.
BreakAdv breakAdv = new BreakAdv();
breakAdv.Type = BreakType.LineBreak;
paragraph.Inlines.Add(breakAdv);
// You can add any number of spans, images, comments and hyperlink fields here.
Dim paragraph As New ParagraphAdv()
' Add the line break.
Dim breakAdv As New BreakAdv()
breakAdv.Type = BreakType.LineBreak
paragraph.Inlines.Add(breakAdv)
' You can add any number of spans, images, comments and hyperlink fields here.
Constructors
BreakAdv()
Initializes a new instance of the BreakAdv class.
Declaration
public BreakAdv()
Properties
Type
Gets or sets the break type.
Declaration
public BreakType Type { get; set; }
Property Value
Type |
---|
BreakType |