Class ControlExtensions
Inherited Members
Namespace: MewExtendedToolkit.Html
Assembly: MewExtendedToolkit.Html.dll
Syntax
public static class ControlExtensions
Methods
| Edit this page View SourceLoadRtfFile(HtmlControl, Stream)
Load rtf file.
Declaration
public static HtmlControl LoadRtfFile(this HtmlControl control, Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| HtmlControl | control | Target html control. |
| Stream | stream | Rtf stream. |
Returns
| Type | Description |
|---|---|
| HtmlControl | The html block for chaining. |
LoadRtfFile(HtmlControl, string)
Load rtf file.
Declaration
public static HtmlControl LoadRtfFile(this HtmlControl control, string fileName)
Parameters
| Type | Name | Description |
|---|---|---|
| HtmlControl | control | Target html control. |
| string | fileName | Rtf filename. |
Returns
| Type | Description |
|---|---|
| HtmlControl | The html block for chaining. |
LoadRtfText(HtmlControl, string)
Load rtf content.
Declaration
public static HtmlControl LoadRtfText(this HtmlControl control, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| HtmlControl | control | Target html control. |
| string | text | Rtf content. |
Returns
| Type | Description |
|---|---|
| HtmlControl | The html block for chaining. |
Text(HtmlControl, string)
Sets html text.
Declaration
public static HtmlControl Text(this HtmlControl control, string html)
Parameters
| Type | Name | Description |
|---|---|---|
| HtmlControl | control | Target html control. |
| string | html | Html content. |
Returns
| Type | Description |
|---|---|
| HtmlControl | The html block for chaining. |