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