Skip to main content

RichEditControl.Views Property

Contains settings of the Views that are used to display a document in the RichEdit Control.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap


[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public RichEditViewRepository Views { get; }

Property Value

Type Description

A RichEditViewRepository object which stores the settings of the document Views.


The RichEdit Control provides a number of views that are used to display a document in a specific manner. You can use the Views property to access the settings of all available views. E.g. the RichEditViewRepository.PrintLayoutView property contains settings of the PrintLayout view which allows end-users to display a document as it looks when printed.

The RichEdit Control object also has a number of properties which are synchronized with the corresponding properties (Views) of the RichEditViewRepository object. Although these properties are not visible via the Properties window at design time, they can be accessed via code. For instance, the PrintLayoutView property is synchronized with the RichEditViewRepository.PrintLayoutView property.

The currently selected view is accessible via the RichEditControl.ActiveView property. Use the RichEditControl.ActiveViewType property to select another view.

See Also