Table of Contents

Class Editor

Namespace
AjaxControlToolkit.HtmlEditor
Assembly
AjaxControlToolkit.dll
[Obsolete("HtmlEditor is obsolete. Use HtmlEditorExtender instead.")]
[ClientCssResource("HtmlEditor.Editor")]
[RequiredScript(typeof(CommonToolkitScripts))]
[RequiredScript(typeof(Enums))]
[RequiredScript(typeof(BackColorClear))]
[RequiredScript(typeof(BackColorSelector))]
[RequiredScript(typeof(Bold))]
[RequiredScript(typeof(BoxButton))]
[RequiredScript(typeof(BulletedList))]
[RequiredScript(typeof(ColorButton))]
[RequiredScript(typeof(ColorSelector))]
[RequiredScript(typeof(CommonButton))]
[RequiredScript(typeof(Copy))]
[RequiredScript(typeof(Cut))]
[RequiredScript(typeof(DecreaseIndent))]
[RequiredScript(typeof(DesignMode))]
[RequiredScript(typeof(DesignModeBoxButton))]
[RequiredScript(typeof(DesignModeImageButton))]
[RequiredScript(typeof(DesignModePopupImageButton))]
[RequiredScript(typeof(DesignModeSelectButton))]
[RequiredScript(typeof(EditorToggleButton))]
[RequiredScript(typeof(FixedBackColor))]
[RequiredScript(typeof(FixedColorButton))]
[RequiredScript(typeof(FixedForeColor))]
[RequiredScript(typeof(FontName))]
[RequiredScript(typeof(FontSize))]
[RequiredScript(typeof(ForeColor))]
[RequiredScript(typeof(ForeColorClear))]
[RequiredScript(typeof(ForeColorSelector))]
[RequiredScript(typeof(HorizontalSeparator))]
[RequiredScript(typeof(HtmlMode))]
[RequiredScript(typeof(ImageButton))]
[RequiredScript(typeof(IncreaseIndent))]
[RequiredScript(typeof(InsertHR))]
[RequiredScript(typeof(InsertLink))]
[RequiredScript(typeof(Italic))]
[RequiredScript(typeof(JustifyCenter))]
[RequiredScript(typeof(JustifyFull))]
[RequiredScript(typeof(JustifyLeft))]
[RequiredScript(typeof(JustifyRight))]
[RequiredScript(typeof(Ltr))]
[RequiredScript(typeof(MethodButton))]
[RequiredScript(typeof(ModeButton))]
[RequiredScript(typeof(OkCancelPopupButton))]
[RequiredScript(typeof(OrderedList))]
[RequiredScript(typeof(Paragraph))]
[RequiredScript(typeof(Paste))]
[RequiredScript(typeof(PasteText))]
[RequiredScript(typeof(PasteWord))]
[RequiredScript(typeof(PreviewMode))]
[RequiredScript(typeof(Redo))]
[RequiredScript(typeof(RemoveAlignment))]
[RequiredScript(typeof(RemoveLink))]
[RequiredScript(typeof(RemoveStyles))]
[RequiredScript(typeof(Rtl))]
[RequiredScript(typeof(SelectButton))]
[RequiredScript(typeof(SelectOption))]
[RequiredScript(typeof(Selector))]
[RequiredScript(typeof(StrikeThrough))]
[RequiredScript(typeof(SubScript))]
[RequiredScript(typeof(SuperScript))]
[RequiredScript(typeof(Underline))]
[RequiredScript(typeof(Undo))]
[RequiredScript(typeof(AttachedPopup))]
[RequiredScript(typeof(AttachedTemplatePopup))]
[RequiredScript(typeof(BaseColorsPopup))]
[RequiredScript(typeof(LinkProperties))]
[RequiredScript(typeof(OkCancelAttachedTemplatePopup))]
[RequiredScript(typeof(Popup))]
[RequiredScript(typeof(PopupBGIButton))]
[RequiredScript(typeof(PopupBoxButton))]
[RequiredScript(typeof(PopupCommonButton))]
[RequiredScript(typeof(RegisteredField))]
[ClientScriptResource("Sys.Extended.UI.HtmlEditor.Editor", "HtmlEditor.Editor")]
public class Editor : ScriptControlBase, INamingContainer, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager
Inheritance
Editor
Implements
INamingContainer
IPostBackDataHandler
ICallbackEventHandler
Inherited Members

Constructors

Editor()

public Editor()

Properties

ActiveMode

public virtual ActiveModeType ActiveMode { get; set; }

Property Value

ActiveModeType

AutoFocus

public virtual bool AutoFocus { get; set; }

Property Value

bool

BottomToolbar

protected Toolbar BottomToolbar { get; }

Property Value

Toolbar

ButtonImagesFolder

public virtual string ButtonImagesFolder { get; set; }

Property Value

string

Content

public virtual string Content { get; set; }

Property Value

string

CssClass

public override string CssClass { get; set; }

Property Value

string

DesignPanelCssPath

public virtual string DesignPanelCssPath { get; set; }

Property Value

string

DocumentCssPath

public virtual string DocumentCssPath { get; set; }

Property Value

string

EnableSanitization

[Browsable(true)]
public bool EnableSanitization { get; set; }

Property Value

bool

Height

public override Unit Height { get; set; }

Property Value

Unit

HtmlPanelCssClass

public virtual string HtmlPanelCssClass { get; set; }

Property Value

string

IgnoreTab

public virtual bool IgnoreTab { get; set; }

Property Value

bool

InitialCleanUp

public virtual bool InitialCleanUp { get; set; }

Property Value

bool

IsDesign

protected bool IsDesign { get; }

Property Value

bool

NoScript

public virtual bool NoScript { get; set; }

Property Value

bool

NoUnicode

public virtual bool NoUnicode { get; set; }

Property Value

bool

OnClientActiveModeChanged

public virtual string OnClientActiveModeChanged { get; set; }

Property Value

string

OnClientBeforeActiveModeChanged

public virtual string OnClientBeforeActiveModeChanged { get; set; }

Property Value

string

SuppressTabInDesignMode

public virtual bool SuppressTabInDesignMode { get; set; }

Property Value

bool

TopToolbar

protected Toolbar TopToolbar { get; }

Property Value

Toolbar

TopToolbarPreservePlace

public virtual bool TopToolbarPreservePlace { get; set; }

Property Value

bool

Width

public override Unit Width { get; set; }

Property Value

Unit

Methods

AddAttributesToRender(HtmlTextWriter)

protected override void AddAttributesToRender(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter

CreateChildControls()

protected override void CreateChildControls()

CreateControlStyle()

protected override Style CreateControlStyle()

Returns

Style

DescribeComponent(ScriptComponentDescriptor)

protected override void DescribeComponent(ScriptComponentDescriptor descriptor)

Parameters

descriptor ScriptComponentDescriptor

FillBottomToolbar()

protected virtual void FillBottomToolbar()

FillTopToolbar()

protected virtual void FillTopToolbar()

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

OnPreRender(EventArgs)

protected override void OnPreRender(EventArgs e)

Parameters

e EventArgs

Render(HtmlTextWriter)

protected override void Render(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter

Events

ContentChanged

public event ContentChangedEventHandler ContentChanged

Event Type

ContentChangedEventHandler