Skip to main content

HTML Editor Elements

  • 6 minutes to read

This topic describes the ASPxHtmlEditor elements visible on screen. Each section contains a screenshot and a brief overview of the element’s function. Additionally, each section contains the list of settings that specify the element’s appearance.

ASPxHtmlEditor-VE_Overview

Toolbar

Toolbars are displayed in the Bar Dock Container when the ASPxHtmlEditor.ToolbarMode property is set to Menu. Toolbars contain Toolbar Items, such as toolbar buttons and toolbar editors. ASPxHtmlEditor has a set of default toolbar items and allows you to create custom toolbar items.

HTML Editor Toolbar

Characteristics

Members

Visibility

ASPxHtmlEditor.ToolbarMode

Toolbar Collection

ASPxHtmlEditor.Toolbars

Availability

ASPxHtmlEditor.ToolbarMode

Appearance

ToolbarsStyles.Toolbar, ToolbarsStyles.ToolbarItem, ToolbarsStyles.BarDockControl

Ribbon

The Ribbon is displayed at the top of the editor. It serves as the main menu for the editor and contains ribbon item elements. The Ribbon is displayed when the ASPxHtmlEditor.ToolbarMode property is set to Ribbon.

Ribbon

Use the ToolbarsStyles.Ribbon property to specify the style settings of ribbon elements.

Tabs

You can use the ASPxHtmlEditor.RibbonTabs property to customize the collection of ribbon tabs. The table below lists the main members that affect ribbon tab appearance and functionality.

Characteristics Members
Text RibbonTab.Text
Visibility RibbonTab.Visible

Groups

Groups are contained in a tab’s RibbonTab.Groups collection, and are used to divide ribbon items within a tab into logical groups. The table below lists the main members that affect ribbon group appearance and functionality.

Characteristics Members
Text RibbonGroup.Text
Group Expand Button Image RibbonGroup.Image
Visibility RibbonGroup.Visible
Items RibbonGroup.Items

Items

Items are contained in a group’s RibbonGroup.Items collection and allow users to perform various actions. For instance, a user can click the Undo button to cancel or reverse the last action. The table below lists the main members that affect ribbon item appearance and functionality.

Characteristics Members
Text RibbonItemBase.Text
Image RibbonButtonItem.SmallImage, RibbonButtonItem.LargeImage
Tooltip RibbonItemBase.ToolTip
Style RibbonItemBase.ItemStyle
Size RibbonItemBase.Size
Item Separator Visibility RibbonItemBase.BeginGroup
Visibility RibbonItemBase.Visible

Context Tab Category

Use the ASPxHtmlEditor.RibbonContextTabCategories property to customize the collection of ribbon context tab categories. A context tab category is a container for context tabs, which are hidden tabs that are displayed on demand (for example, when a corresponding element such as an image or a table is selected). The table below lists the main members that affect ribbon group appearance and functionality.

Characteristics Members
Color RibbonContextTabCategory.Color
Tabs RibbonContextTabCategory.Tabs
Visibility RibbonContextTabCategory.Visible, RibbonContextTabCategory.ClientVisible

Tag Inspector

The Tag Inspector allows users to navigate through the tag hierarchy and remove tags. A user can click the Change Element button in the Tag Inspector to invoke the Change Element Properties dialog and customize tag properties.

The Tag Inspector is displayed when the design view area is active, if the ASPxHtmlEditorSettings.ShowTagInspector property is set to true.

TagInspector

The image below illustrates the Tag Inspector in detail.

TagInspector_Details

The table below lists the main members that affect element appearance.

Elements Members
Tag style HtmlEditorTagInspectorStyles.Tag
Separator image HtmlEditorImages.TagInspectorSeparator
Ellipsis style HtmlEditorTagInspectorStyles.Ellipsis
Selected tag container style HtmlEditorTagInspectorStyles.SelectedTagContainer
Selected tag style HtmlEditorTagInspectorStyles.SelectedTag
Remove element button image HtmlEditorImages.TagInspectorRemoveElementButton
Change element button image HtmlEditorImages.TagInspectorChangeElementButton

Content Area

The Content Area is a container for the View Area and Status Bar. The View Area includes the Design View Area, HTML View Area, and Preview Area. Use tabs to select a view.

The Design View Area allows users to modify the editor content with various visual tools, and instantly see the results. The Design View Area is displayed in the view area when the Design tab is active.

The Html View Area enables users to use HTML markup to modify the editor content. The Html View Area is displayed in the view area when the HTML tab is active.

In the Preview Area, users can view the editor content as a regular webpage. The Preview Area is displayed in the view area when the Preview tab is active.

Content Area

The table below lists the main members that affect element appearance and functionality.

Characteristics

Members

Appearance

HtmlEditorStyles.ContentArea,
HtmlEditorStyles.ViewArea,
HtmlEditorStyles.DesignViewArea,
HtmlEditorStyles.HtmlViewArea,
HtmlEditorStyles.PreviewArea

Availability

ASPxHtmlEditorSettings.AllowDesignView,
ASPxHtmlEditorSettings.AllowHtmlView,
ASPxHtmlEditorSettings.AllowPreview

Settings

ASPxHtmlEditorSettings.SettingsHtmlView

Tab Caption

ASPxHtmlEditorTextSettings.DesignViewTab,
ASPxHtmlEditorTextSettings.HtmlViewTab,
ASPxHtmlEditorTextSettings.PreviewTab

Paste Options Bar

The Paste Options Bar allows users to change the pasted HTML content format. The bar appears in the top right corner of the design view area after content is pasted.

PastingOptionsBar

The ASPxHtmlEditorHtmlEditingSettings.EnablePasteOptions property specifies whether to display the Paste Options Bar:

  • False (default) - The control does not display the bar.
  • True - The control displays the bar after a user pastes content.

Status Bar

The Status Bar is displayed at the bottom of the ASPxHtmlEditor control and contains tab and size grip elements.

ASPxHtmlEditor-StatusBar

Use the HTML Editor’s StylesStatusBar property to access style settings that affect element appearance.

Tab

Tabs are displayed in the status bar and allow users to switch between the editor’s view areas. The Active Tab corresponds to the currently displayed view area.

ASPxHtmlEditor-Tab

The table below lists the main members that affect element appearance and functionality.

Characteristics

Members

Availability

ASPxHtmlEditorSettings.AllowDesignView,

ASPxHtmlEditorSettings.AllowHtmlView,

ASPxHtmlEditorSettings.AllowPreview

Tab Captions

ASPxHtmlEditorTextSettings.DesignViewTab,

ASPxHtmlEditorTextSettings.HtmlViewTab,

ASPxHtmlEditorTextSettings.PreviewTab

Appearance

HtmlEditorStatusBarStyles.Tab,

HtmlEditorStatusBarStyles.ActiveTab

Size Grip

The Size Grip is displayed at the bottom right corner of the editor’s status bar, and allows users to resize the editor.

ASPxHtmlEditor-SizeGrip

The table below lists the main members that affect element appearance and functionality.

Characteristics Members
Visibility HtmlEditorResizeSettings.AllowResize
Image HtmlEditorImages.SizeGrip
Style HtmlEditorStatusBarStyles.SizeGrip

Loading Panel

The Loading Panel is displayed in the ASPxHtmlEditor‘s loading div and dialog elements while waiting for a callback response.

LoadingDiv

The table below lists the main members that affect element appearance and functionality.

Characteristics Members
Settings ASPxHtmlEditor.SettingsLoadingPanel
Appearance HtmlEditorStyles.LoadingPanel

Loading Div

The Loading Div element is displayed above the ASPxHtmlEditor client region while the editor loads data to the view area. For instance, the HTML Editor displays the Loading Div element after a user changes the active tab. The Loading Div element includes the loading panel.

Loading Div

Use the HTML Editor’s HtmlEditorStyles.LoadingDiv property to access style settings that affect element appearance.

Dialogs

The built-in dialogs allow users to insert and modify ASPxHtmlEditor content (for instance, hyperlinks, tables, media elements). The image below shows the Insert Link dialog.

VE_DialogForm

The table below lists the main members that affect element appearance and functionality.

Characteristics

Members

Dialog Form Element Visibility

ASPxHtmlEditor.SettingsDialogs

Styles

ASPxHtmlEditor.StylesDialogForm,

ASPxHtmlEditor.StylesButton

Images

HtmlEditorImages.DialogFormCloseButton,

Context Menu

Right-click within the editor’s Design view area or HTML view area to activate the Context Menu.

ASPxHtmlEditor-ContextMenu

The table below lists the main members that affect element appearance and functionality.

Characteristics Members
Availability ASPxHtmlEditorSettings.AllowContextMenu
Appearance ASPxHtmlEditor.StylesContextMenu