Skip to main content

ImageEditorOptions.AllowClear Property

Indicates whether an end user can remove content from the image editor.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public bool AllowClear { get; set; }

Property Value

Type Description
Boolean

true if the editor allows end users to clear content; otherwise, false.

Remarks

When the AllowClear property is set to true, the image editor’s menu contains the Clear Menu Item item. This item removes all the content the editor contains.

Image and Signature Predefined Editor

Set the AllowClear property to false to remove the Clear Menu Item menu item.

Tip

The Reset Icon menu item resets the editor’s content. This item is available only when the Picture Box control’s ImageSource property is originally assigned.

See Also