Your search did not match any results.

Simple View

The DevExpress ASP.NET Core Rich Text Editor provides the Simple View mode to display documents ignoring the page's layout. In this mode, the control adjusts the document so that it occupies the entire control's content area.

You can enable the Simple View mode in the following ways:

  • Click the Simple View Ribbon's command
  • Set the ViewType server-side property to Simple
@(Html.DevExpress().RichEdit("DemoRichEdit") .Views(v => v.ViewType(ViewType.Simple)) .Ribbon(r => r.ActiveTabIndex(6)) .Height(600) .Open("Documents/AynRand.docx") )
using Microsoft.AspNetCore.Mvc; namespace AspNetCoreDemos.RichEdit { [Route("[action]")] public class DemosController : Controller { public IActionResult SimpleView() { return View(); } } }