GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SyncfusionExamples/How-to-display-formatted-html-in-WPF-EditControl: This repository contains the sample that shows how to display formatted html in WPF EditControl.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Edit_Display_FormattedHtml
Edit_Display_FormattedHtml
 
 
Edit-FormattedHtml.gif
Edit-FormattedHtml.gif
 
 
Output_Edit_Display_FormattedHtml.png
Output_Edit_Display_FormattedHtml.png
 
 
README.md
README.md
 
 

Repository files navigation

How to display formatted html in WPF EditControl

This repository contains the sample that shows how to display formatted html in WPF EditControl

The DocumentLanguage property of the EditControl enables the users to select and display the language. To display a html file, the DocumentLanguage enum type property value can be set to HTML.

The below lines of code explain to display the formatted html file while loading itself using DocumentSource property in WPF EditControl.


<syncfusion:EditControl Name="Edit1" Background="White" DocumentLanguage="HTML" DocumentSource="../../Utlis/HTMLSource.html"/>

EditControl edit1 = new EditControl() { Background = Brushes.White, DocumentLanguage=Languages.HTML,DocumentSource= "../../Utlis/HTMLSource.html" };
this.Content = edit1;

Output: WPF_EditControl_Display_FormattedHtml

The below lines of code explain to display the formatted html at runtime in WPF EditControl


<syncfusion:EditControl Name="Edit1" Background="White" DocumentLanguage="HTML" />

EditControl edit1 = new EditControl() { Background = Brushes.White, DocumentLanguage=Languages.HTML };
this.Content = edit1;

Output

WPF_EditControl_Display_FormattedHtm1

About

This repository contains the sample that shows how to display formatted html in WPF EditControl.

Topics

document-languagehtmlsyntax-editorwpf-editcontrol

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.