The HTML text to edit.

Namespace:  C1.Web.Editor
Assembly:  C1.Web.Editor.2 (in C1.Web.Editor.2.dll)

Syntax

C#
[DefaultValueAttribute("<font color="#333399" size="6">Welcome to C1WebEditor.</font><p>This text is <strong>bold</strong>, this is <em>italic</em>, this is <u>underlined</u>, and this is <strike>strikethrough</strike>.</p><p>This text is <span style="font-family: Arial;">Arial</span>, this is <span style="font-family: Garamond;">Garamond</span>, and this is <span style="font-family: Verdana;">Verdana</span>.</p><ul><li><font style="background-color: rgb(255, 255, 0);">Bullet 1</font> </li><li><font style="background-color: rgb(0, 255, 0);">Bullet 2</font></li></ul><font color="#000000"><font color="#000000">This texxt is for the spel cheker.</font><br><br> <font style="font-weight: bold;" color="#333399" size="5">Table</font></font><p></p><table><tbody><tr><td>Cell 1-1</td><td>Cell 1-2</td></tr><tr><td>Cell 2-1</td><td>Cell 2-2</td></tr></tbody></table>")]
public string Text { get; set; }
Visual Basic (Declaration)
<DefaultValueAttribute("<font color="#333399" size="6">Welcome to C1WebEditor.</font><p>This text is <strong>bold</strong>, this is <em>italic</em>, this is <u>underlined</u>, and this is <strike>strikethrough</strike>.</p><p>This text is <span style="font-family: Arial;">Arial</span>, this is <span style="font-family: Garamond;">Garamond</span>, and this is <span style="font-family: Verdana;">Verdana</span>.</p><ul><li><font style="background-color: rgb(255, 255, 0);">Bullet 1</font> </li><li><font style="background-color: rgb(0, 255, 0);">Bullet 2</font></li></ul><font color="#000000"><font color="#000000">This texxt is for the spel cheker.</font><br><br> <font style="font-weight: bold;" color="#333399" size="5">Table</font></font><p></p><table><tbody><tr><td>Cell 1-1</td><td>Cell 1-2</td></tr><tr><td>Cell 2-1</td><td>Cell 2-2</td></tr></tbody></table>")> _
Public Property Text As String
	Get
	Set

Examples

The following example specifies the text that will appear within the C1WebEditor text window.
Copy CodeVisual Basic
' specify the text appearing in the C1WebEditor text window
C1WebEditor1.Text = "Here is the text I would like to appear in C1WebEditor."
Copy CodeC#
// specify the text appearing in the C1WebEditor text window
c1WebEditor1.Text = "Here is the text I would like to appear in C1WebEditor.";

See Also