The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRLabel.EditOptions Property

Provides access to options that define whether and how a control's content can be edited in Print Preview.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
public TextEditOptions EditOptions { get; }
<SRCategory(ReportStringId.CatBehavior)>
Public ReadOnly Property EditOptions As TextEditOptions

Property Value

Type Description
TextEditOptions

A TextEditOptions object that contains the edit settings for a control.

Remarks

To enable content editing for a report control, expand its EditOptions property and set the EditOptions.Enabled property to true.

editing-fields-label-edit-options-new

When the EditOptions.Enabled property is set to true and the EditOptions.ReadOnly property is disabled, the control's content can be edited in Print Preview (clicking a field will invoke the appropriate editor).

By default, the TextEditOptions.EditorName property is not specified and a memo edit is used as the standard editor.

EditOptions_StandardMemoEditor

You can assign a specific editor to a control using its TextEditOptions.EditorName property. All available editors are listed by the EditingFieldEditorNames class and are divided into three categories: Numeric, Date-Time and Letters.

If required, you can implement custom editors and add them to an existing or custom category.

For more information, see Content Editing in Print Preview.

See Also