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

TdxRichEditControlBase.ActiveView Property

Provides access to the active document view and its settings.

#Declaration

Delphi
property ActiveView: TdxRichEditView read;

#Property Value

Type
TdxRichEditView

#Remarks

Use this property to customize the active view’s settings that are common to all document views. Refer to the TdxRichEditView class description for detailed information on these settings. If you need to customize view-specific settings, you can:

  • Cast the ActiveView property value to a TdxRichEditView class descendant that corresponds to the ActiveViewType property value.

  • Use the corresponding setting accessible via the Views property.

ActiveViewType Value Document View Class Dedicated Property
TdxRichEditType.Simple TdxSimpleView Views.Simple
TdxRichEditType.Draft TdxDraftView Views.Draft
TdxRichEditType.PrintLayout TdxPrintLayoutView Views.PrintLayout

Note

Use the ActiveViewType property to switch between available document views. The OnActiveViewChanged event occurs every time the active document view changes.

See Also