Object Model

Class WebHtmlControl.HtmlEdit represents the control.

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         WebHtmlEdit.HtmlEdit

[Visual Basic]
Public Class HtmlEdit
   Inherits WebControl

[C#]
public class HtmlEdit : WebControl

Public Constructors

HtmlEdit Constructor Initializes a new instance of the HtmlEdit class. Usage
HtmlEdit HtmlEdit1 = new HtmlEdit();

Public Properties

ColorTheme Gets or sets the color scheme used to render the control. Allowed values are
HtmlEdit1.ColorTheme = ColorTheme.Silver;
HtmlEdit1.ColorTheme = ColorTheme.Blue;
HtmlEdit1.ColorTheme = ColorTheme.Green;
HtmlEdit1.ColorTheme = ColorTheme.Maroon;
EnableViewState (inherited from Control) Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
Height (inherited from WebControl) Gets or sets the height of the Web server control.
ImageFolder

Gets or sets the relative path to the folder, where control's images are placed.

For example, if you use a control on a page "http://www.mysite.com/editor.aspx", and the images are placed in "http://www.mysite.com/images/" folder, then the ImageFolder property should be set to "images".

The default value is "HtmlEditImgs".

Text Gets or sets the Text, displayed inside the editor. This should be HTML-code.
Visible (inherited from Control) Gets or sets a value that indicates whether a server control is rendered as UI on the page.
Width (inherited from WebControl) Gets or sets the width of the Web server control.

IMPORTANT NOTE: HtmlEdit class inherits more standard properties from a WebControl class. These properties are not listed here, because they either behave in a standard manner, or have no effect.

© JitBit Software www.jitbit.com