ViewType Enum

Lists values that specify a document view type.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v21.2.dll

Declaration

public enum ViewType

Members

Name Description
Simple

Simple layout mode. The control displays document as a website and ignores the page layout.

PrintLayout

Print layout mode. The control displays pages with applied format settings.

Related API Members

The following properties accept/return ViewType values:

Remarks

The following example uses the ViewType enumeration values to configure the ViewType property:

<DxRichEdit DocumentContent="@documentContent" ViewType="ViewType.Simple" ActiveRibbonTabIndex="6" CssClass="w-100 ch-720" />

Simple View

Run Demo: RichEdit – Simple View

See Also