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.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
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.
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.
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.