EditablePreviewEnabled Function
Enables the Highlight Editing Fields action.
Declaration
export const EditablePreviewEnabled: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
Parameters
Name | Type |
---|---|
newVal | boolean |
Returns
Type | Description |
---|---|
boolean | True to enable the Highlight Editing Fields action; otherwise, false. |
Remarks
Set the EditablePreviewEnabled property to false to disable the action that highlights editable fields. For more information on editable fields, review the following topic: Edit Content in Print Preview.
You can handle the ASPxClientWebDocumentViewer.CustomizeElements event and specify the EditablePreviewEnabled setting to remove the Highlight Editing Fields action in the Document Viewer:
<dx:ASPxWebDocumentViewer ID="ASPxWebDocumentViewer1" runat="server">
<ClientSideEvents CustomizeElements = "function(s, e) {
DevExpress.Reporting.Viewer.Settings.EditablePreviewEnabled(true);}" />
</dx:ASPxWebDocumentViewer>