Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageEditorOptions.AllowClear Property

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

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: 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