Skip to main content

ViewType Enum

Lists values that specify a document view type.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

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 @bind-DocumentContent="@DocumentContent" ViewType="ViewType.Simple" BarMode=BarMode.Toolbar CssClass="w-100 ch-720" />

Simple View

Run Demo: RichEdit – Simple View

See Also