RichEditControl.Views Property

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

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.1.dll

Declaration

public RichEditViewRepository Views { get; }
Public ReadOnly Property Views As RichEditViewRepository

Property Value

Type Description
RichEditViewRepository

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

Remarks

The RichEditControl 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, allowing end-users to display a document as it looks when printed.

The RichEditControl 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