[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Collapse]Concepts
  [Expand]Application Solution Components
  [Expand]Business Model Design
  [Expand]Application Model
  [Expand]UI Construction
  [Expand]Controllers and Actions
  [Expand]Data Manipulation and Business Logic
  [Expand]Security System
  [Expand]Localization
  [Expand]System Module
  [Collapse]Extra Modules
   [Expand]Audit Trail Module Overview
    Business Class Library Customization Module
    Chart Module
    Clone Object Module
   [Expand]Conditional Appearance Module Overview
   [Expand]Dashboards Module
    File Attachments Module Overview
    HTML Property Editor Module
    Localization Module Overview
   [Expand]Notifications Module
    KPI Module
   [Expand]Maps Module
   [Expand]Pivot Chart Module
    Pivot Grid Module
   [Expand]Reports V2 Module
   [Expand]Reports Module (Obsolete)
   [Expand]Office Module
   [Expand]Scheduler Module
    Script Recorder Module
   [Expand]State Machine Module
   [Expand]TreeList Editors Module
   [Expand]Validation Module
    View Variants Module
   [Expand]Workflow Module
  [Expand]Debugging, Testing and Error Handling
  [Expand]Filtering
  [Expand]Application Life Cycle
 [Expand]Design-Time Features
 [Expand]Deployment
 [Expand]Task-Based Help
  Frequently Asked Questions (FAQ)
 [Expand]API Reference
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

HTML Property Editor Module

Important

The HTML Property Editor Windows Forms Module is required to provide compatibility with legacy WinForms XAF applications. If you create a new application, use the Office Module instead. With this module, you can edit HTML-formatted text in WinForms applications. It also supports RTF and DOCX formats. Refer to the Use Rich Text Documents in Business Objects topic for more information.

The HTML Property Editor Module contains Property Editors which allow end-users to visually format string property values using Hypertext Markup Language (HTML). This topic describes this module's structure.

The Property Editors described here are demonstrated in the Feature Center Demo's Property Editors section (installed with XAF). The Feature Center demo is installed in %PUBLIC%\Documents\DevExpress Demos 18.2\Components\eXpressApp Framework\FeatureCenter by default. The ASP.NET version of this demo is available online at http://demos.devexpress.com/XAF/FeatureCenter/.

Expanded HTML Property Editor Module Components

The HTML Property Editor Module provides the following platform-specific components:

Note

  • You can add a module in the Solution Wizard when creating a new XAF solution by selecting a module in the Choose Extra Modules step.

  • To add an extra module in code, add it to the XafApplication.Modules or ModuleBase.RequiredModuleTypes list (adding a reference to the module assembly is insufficient).
  • When using the HtmlPropertyEditorWindowsFormsModule in your application, ensure that the Microsoft.mshtml.dll primary interop assembly is installed on the end user's computer. To deploy this assembly, use the vs_piaredist.exe package in the %PROGRAMFILES(x86)%\Common Files\Merge Modules folder (default). If the package does not exist in this folder, download the PIARedist.exe file from the Microsoft site.

Expanded Property Editors Provided by the HTML Property Editor Module

This Module provides the following platform-specific Property Editors:

Platform Property Editor Description
Win HtmlPropertyEditor WinForms applications' Property Editor has two tabs: the Design tab has an instrument panel which allows you to format a string using HTML tags; the HTML tab displays plain HTML code.
Web ASPxHtmlPropertyEditor The ASPxHtmlPropertyEditor Property Editor uses the ASPxHtmlEditor control which has a Design and HTML tab, as well as a Preview tab that displays the rendered HTML.

The Property Editors this Module provides are intended for String Properties and should be used in Detail Views only. To use it in a specific Detail View, invoke the Model Editor for the WinForms or ASP.NET application project and set the required Views | <DetailView> | Items | <PropertyEditor> node's PropertyEditorType property to DevExpress.ExpressApp.HtmlPropertyEditor.Win.HtmlPropertyEditor or DevExpress.ExpressApp.HtmlPropertyEditor.Web.ASPxHtmlPropertyEditor.

Expanded See Also

Is this topic helpful?​​​​​​​