Skip to main content
A newer version of this page is available. .

ImageEditOptions.EditorName Property

Specifies the name of an editor used to edit the PictureBox control’s content in Print Preview.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[DefaultValue("")]
public string EditorName { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the editor name.

Property Paths

You can access this nested property as listed below:

Object Type Path to EditorName
XRPictureBox
.EditOptions.EditorName

Remarks

If a control’s ImageEditOptions.Enabled property is set to true and the ImageEditOptions.ReadOnly option is disabled, its content can be changed in Print Preview using an in-place editor invoked after clicking the corresponding field. Use the ImageEditOptions.EditorName property to specify the name of the editor to be invoked. You can set one of the following image editors:

  • Image
    Allows end users to load an image and specify the image’s size options.

    content-editing-image

  • Signature
    Allows end users to specify brash options and draw a signature.

    content-editing-signature

  • Image and Signature (default)
    Allows end users to load an image and/or draw a signature. The image’s size options and brash options are available.

    content-editing-image-and-signature

The editor names are listed in the EditingFieldEditorNames class.

You can enlarge the list of possible editors by adding an editor with a predefined image collection. Use the RegisterImageCollectionEditor(WinForms)/RegisterImageCollectionEditorInfo(WPF) method to register an editor with a specified name and a specified image collection.

content-editing-predefined-collection

All the available image editors include the clear-changes button. This button resets changes to the initial image editor value.

Refer to the Content Editing in Print Preview topic for details.

See Also