Back to Devexpress

RichEditControl.DefaultViewType Property

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-05339bd1.md

latest1.8 KB
Original Source

RichEditControl.DefaultViewType Property

Gets the default view type used by the RichEdit control.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
[Browsable(false)]
public virtual RichEditViewType DefaultViewType { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property DefaultViewType As RichEditViewType

Property Value

TypeDescription
RichEditViewType

A RichEditViewType enumeration member, which specifies the RichEdit view.

|

Available values:

NameDescription
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

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace