ImageEditorOptions.AllowClear Property

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

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v20.2.dll

Declaration

public bool AllowClear { get; set; }
Public Property AllowClear As Boolean

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