Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.DefaultViewType Property

Gets the default view type used by the RichEdit control.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v24.2.dll

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

[Browsable(false)]
public virtual RichEditViewType DefaultViewType { get; }

#Property Value

Type Description
RichEditViewType

A RichEditViewType enumeration member, which specifies the RichEdit view.

Available values:

Name Description
Simple

Specifies that the control is in a simple mode used for simple text and web pages. This mode shows how the document looks as a website.

Draft

Specifies that the control is in a draft mode.

PrintLayout

Specifies that the control is in a print layout mode. In this mode, the control displays pages with all formattings applied.

#Remarks

Currently, the default view type is the RichEditViewType.PrintLayout.

See Also